【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.24.5.1.23 probt
Contents
Description
Student's t cdf
Syntax
double probt( double dt, UINT nDof )
Parameters
- dt
- [input] Value of t
- nDof
- [input] Degrees of freedom where nDof>0.
Return
Returns the value for cumulative distribution function for T distribution
Examples
EX1
void probt_ex1() { double dt=1.761; UINT nDof=14; double dP; dP=probt(dt,nDof); // results in dP==0.95 dt=-1.761; dP=probt(dt,nDof); // results in dP==0.05 }
Remark
For historical reasons, this 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 tcdf(), and we recommend the latter.
See Also
Header to Include
origin.h