Skip to main content

t_test_two_sample

Function t_test_two_sample 

Source
pub fn t_test_two_sample(
    x: &[f64],
    y: &[f64],
    equal_variance: bool,
    alternative: Alternative,
) -> Result<TestResult, ErrorsJSL>
Expand description

Two-sample t-test of equal means: Student’s pooled-variance test with equal_variance, otherwise Welch’s test with the Welch-Satterthwaite degrees of freedom.