Calculate an appropriate test statistic and p-value for testing a hypothesis for the difference between two population means.
- The test statistic for a two-sample t-test for the difference between two population means is ()xx- -t = 12 0 ss22 1 + 2 nn1 2 . The t-statistic has a t-distribution when the null hypothesis is true. The t-statistics with the degrees of freedom can be found using technology. The degrees of freedom fall between n12+-n 2 and the smaller of n1 −1 and n2 −1.
- The p-value for a two-sample t-test for the difference between two population means can be found using the appropriate t-distribution table or from the appropriate t-distribution using technology.