studentTCdf
The cumulative distribution function of Student’s t-distribution.
Basic example
Section titled “Basic example”The cumulative distribution function of Student’s t: the probability that a t statistic with df degrees of freedom falls below t. Zero always gives 0.5, and feeding a quantile back in returns its probability (studentTCdf(2.57, 5) is close to 0.975), since this is the inverse of studentTQuantile.
import {studentTCdf} from "@d3plus/math";
studentTCdf(1.96, 30);
studentTCdf(0, 10);
studentTCdf(-2, 5);
studentTCdf(2.57, 5);
studentTCdf(12.71, 1);
Parameters
import {studentTCdf} from "@d3plus/math";