studentTDistribution
studentTDistribution(
degreesOfFreedom):Distribution
Defined in: student-t-distribution.ts:24
Student’s t distribution — the reference distribution of a mean estimated from a sample whose variance was estimated from the same sample.
The tails go through the incomplete beta on the half of the domain where each
is small: survival(t) for positive t and cdf(t) for negative t are
each computed directly, and the other is their exact complement. Taking both
from one branch would reduce a p-value of 1e-16 to zero.
Parameters
Section titled “Parameters”degreesOfFreedom
Section titled “degreesOfFreedom”number
Positive; need not be an integer.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When degreesOfFreedom is not positive.