Hypothesis Tests for Two Means: Known Population Variances
Use the two-sample z-test to test hypotheses about the difference between two population means when both population variances are known. Covers the test statistic, two-tailed and one-tailed decision rules, and the general case with a nonzero hypothesized difference.
Tutorial
The Two-Sample z-Test for Means
When two independent samples are drawn from populations with known standard deviations and and we want to test a claim about the difference of the population means we use the two-sample -test.
The null hypothesis has the form
where is the hypothesized value of the difference. Most commonly which corresponds to testing whether the two population means are equal. The alternative is one of
Given sample means from samples of sizes the test statistic is
Under this statistic follows the standard normal distribution
For example, suppose and and we test Then