Learn R Programming

distributions3 (version 0.1.1)

FisherF: Create an F distribution

Description

Create an F distribution

Usage

FisherF(df1, df2, lambda = 0)

Arguments

df1

Numerator degrees of freedom. Can be any positive number.

df2

Denominator degrees of freedom. Can be any positive number.

lambda

Non-centrality parameter. Can be any positive number. Defaults to 0.

Value

A FisherF object.

See Also

Other continuous distributions: Beta, Cauchy, ChiSquare, Exponential, Gamma, LogNormal, Logistic, Normal, StudentsT, Tukey, Uniform, Weibull

Examples

Run this code
# NOT RUN {
set.seed(27)

X <- FisherF(5, 10, 0.2)
X

random(X, 10)

pdf(X, 2)
log_pdf(X, 2)

cdf(X, 4)
quantile(X, 0.7)

cdf(X, quantile(X, 0.7))
quantile(X, cdf(X, 7))
# }

Run the code above in your browser using DataLab