P Value Two Sample T Test Formula. S is the standard deviation of d. T x μ s n where x is the sample mean μ is the hypothesized mean in our example it would be 15 s is the sample standard deviation and n is the sample size.
Hypothesized difference between the two population means. Sp n1 1 s12 n2 1 s22 n1 n2 2 where s12 and s22 are the sample variances. The calculation for the p value depends on the alternative hypothesis.
Sp n1 1 s12 n2 1 s22 n1 n2 2 where s12 and s22 are the sample variances.
Sample standard deviation as calculated for the test statistic. Sample standard deviation as calculated for the test statistic. μ 1 μ 2 the two population means are equal h 1. Df n 1.