studtp

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:
xCritical point.
vDegrees 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"