Skip to content

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.

number

Positive; need not be an integer.

Distribution

The distribution.

When degreesOfFreedom is not positive.