studtv

double studtv(double p, double v);

Returns the critical point of the Student's T random variable distribution function with degrees of freedom v associated with probability p.

Parameters:
pCummulative probability for the critical point.
vDegrees of freedom.

Returns:
x such that P(X ≤ x | v) = p

Errors:
NUMERICS_ERROR is raised if v ≤ 0, p ≤ 0, or p ≥

Usage:
double x = studtv(.5, 1.5)

Header:
#include "normdist.h"