What it does
This program implements the non-pooled t-test for two samples where the alternative hypothesis is two-sided or one-sided. The program takes four inputs:
Example
Let us have the first input file representing the first sample as follows:
5 4 8 6 7 2 1 1 0 6 4 5 7 5 3 2 5 8 7 6 4
And the second input file representing the second sample as follows:
2 3 5 1 2 7 5 4 3 2 7 6 0 8 4 6 9 2 4 5 6
Runnig the program and choosing "Two-sided" and "Equal" as parameters will give the following output:
Two Sample t-test data: sample1 and sample2 t = -0.3247, df = 40, p-value = 0.7471 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -1.720030 1.243839 sample estimates: mean of x mean of y 4.333333 4.571429