tTable

 

Contents

Description

Inverse cumulative distribution function for T distribution

Syntax

double tTable( double dP, int nDof )

Parameters

dP
[input] the probability
nDof
[input] the degrees of freedom, where nDof>0.

Return

Returns the value for inverse cumulative distribution function for T distribution

Examples

EX1

void tTable_ex1()
{
    double dP=0.95;
    UINT nDof=14;
    double dt;
    dt=tTable(dP,nDof); // results in dt==1.761
    dt=tTable(0.05, 14); // results in dt==-1.761
}

Remark

For historical reasons, this inverse student's T 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 tinv(), and we recommend the latter.

See Also

tinv, invt, probt

header to Include

origin.h

Reference