Two-sample T-test for difference in means. Does not assume variances are equal.
Alteratives are Alt.less, meaning mean(sample1) - mean(sample2) < testMean,
Alt.greater, meaning mean(sample1) - mean(sample2) > testMean, and
Alt.twoSided, meaning mean(sample1) - mean(sample2) != testMean.
sample1 and sample2 may be either iterables with elements implicitly
convertible to double or summary structs (see isSummary).
A ConfInt containing the T statistic, the P-value, and the
boundaries of the confidence interval for the difference between means
of sample1 and sample2 at the specified level.
Two-sample T-test for difference in means. Does not assume variances are equal. Alteratives are Alt.less, meaning mean(sample1) - mean(sample2) < testMean, Alt.greater, meaning mean(sample1) - mean(sample2) > testMean, and Alt.twoSided, meaning mean(sample1) - mean(sample2) != testMean.
sample1 and sample2 may be either iterables with elements implicitly convertible to double or summary structs (see isSummary).