2.1.24.5.3.4 Ftable


Description

Inverse F cumulative distribution function

Syntax

double Ftable( double dP, UINT nNumDof, UINT nDenDof )

Parameters

dP
[input] the probability
nNumDof
[input] the numerator degrees of freedom, where nNumDof>0.
nDenDof
[input] the denominator degrees of freedom, where nDenDof>0.

Return

Returns inverse F cumulative distribution function

Examples

EX1

void Ftable_ex1()
{
    double dP=0.95;
    UINT nNumDof=2;
    UINT nDenDof=15;
    double dF;
    dF=Ftable(dP,nNumDof,nDenDof); // results in dF==3.68232
    nNumDof=4;
    nDenDof=10;
    dF=Ftable(dP,nNumDof,nDenDof); // results in dF==3.47805
}

Remark

For historical reasons, this inverse F cumulative distribution function was misnamed; Now, we developed a new set of distribution functions, whose CDFs end up with *cdf(), such as chi2cdf(), PDFs with *pdf(), and Inverse CDFs with *inv().

This function performs the same functionality as finv(), and we recommend the latter.

See Also

finv, invf

Header to Include

origin.h

Reference