pub fn students_t_distribution<U>(
uniform_generator: &mut U,
k: usize,
mean: f64,
sd: f64,
) -> f64where
U: UniformGenerator,Expand description
A Student’s t sample with k degrees of freedom, Z / √(χ²_k / k), from k + 1 normal samples.
The normals are drawn as N(mean, sd²); with mean = 0 the result does not depend on sd, and
mean = 0, sd = 1 is the standard case (a non-zero mean gives a noncentral variant).