164 Using mathematical functions
chisquare probability density function. Computes the probability
density of the distribution at x, given n degrees of
freedom.
chisquare(n, x)
Example:
chisquare(2, 3.2) returns 0.100948258997.
chisquare_cdf Cumulative distribution function. Returns the lower-tail
probability of the probability density function for the
value x, given n degrees of freedom.
chisquare_cdf(n, k)
Example:
chisquare_cdf(2, 6.1) returns 0.952641075609.
chisquare_icdf Inverse cumulative distribution function. Returns the
value x such that the lower-tail probability of x, with n
degrees of freedom, is p.
chisquare_icdf(n, p)
Example:
chisquare_icdf(2, 0.952641075609) returns
6.1.
fisher Fisher (or Fisher-Snedecor) probability density function.
Computes the probability density at the value x, given
numerator n and denominator d degrees of freedom.
fisher(n, d, x)
Example:
fisher(5, 5, 2) returns 0.158080231095.
fisher_cdf Cumulative Fisher distribution function. Returns the lower-
tail probability of the Fisher probability density function
for the value x, given numerator n and denominator d
degrees of freedom.
fisher_cdf(n, d, x)
Example:
fisher_cdf(5, 5, 2) returns 0.76748868087.