F {base} | R Documentation |
df(x, n1, n2)
pf(q, n1, n2)
qf(p, n1, n2)
rf(n, n1, n2)
These functions provide information about the F distribution with
n1
and n2
degrees of freedom.
df
gives the density,
pf
gives the distribution function
qf
gives the quantile function
and
rf
generates random deviates.
The F distribution with n_1
and n_2
degrees of
freedom has density
f(x) =
\frac{\Gamma(n_1/2 + n_2/2)}{\Gamma(n_1/2)\Gamma(n_2/2)}
\left(\frac{n_1}{n_2}\right)^{n_1/2}
x^{n_1/2-1}
\left(1 + \frac{n_1 x}{n_2}\right)^{-(n_1 + n_2) / 2}
for x > 0
.
dt
for Student's t distribution which is (almost)
equivalent to *f(..., n2 = 1)
.
df(1,1,1) == dt(1,1)