FisherF: Create an F distribution

View source: R/FisherF.R

FisherFR Documentation

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.

Details

We recommend reading this documentation on https://alexpghayes.github.io/distributions3/, where the math will render with additional detail.

TODO

Value

A FisherF object.

See Also

Other continuous distributions: Beta(), Cauchy(), ChiSquare(), Erlang(), Exponential(), Frechet(), GEV(), GP(), Gamma(), Gumbel(), LogNormal(), Logistic(), Normal(), RevWeibull(), StudentsT(), Tukey(), Uniform(), Weibull()

Examples


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))

alexpghayes/distributions documentation built on Feb. 10, 2024, 9:50 a.m.