double studtp(double x, double v);
Returns the value of Student's T random variable distribution function with v degrees of freedom at the value x.
Parameters:
x | Critical point. |
---|---|
v | Degrees of freedom. |
Returns:
P(X ≤ x | v)
Errors:
NUMERICS_ERROR
is raised if v ≤ 0
Usage:
double p = studtp(.5, 1.5)
Header:
#include "normdist.h"