Data Science, Data Visualization, Data Analysis, Rust, Programming.
individuals_dist.pdf(*x)).collect(); individuals.into_iter().zip(y_iter).collect() }; The 1.0, 4.0, 6.0, 9.0 values in each ChiSquared::new method represents different values of the Degrees of Freedom. Notice the individuals_dist.pdf function invocation which computes the Chi-squared distribution