Inverse cumulative distribution function for T distribution
double tTable( double dP, int nDof )
Returns the value for inverse cumulative distribution function for T distribution
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 }
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.
tinv, invt, probt
origin.h