8.3 Hypothesis Test for Mean of Difference of Two Dependent Samples

"before, after", "with, without", "first time, second time" type problems.

You are given ordered pairs (x, y). Form the difference d = x − y for each pair. μd (or μdiff) is the mean of the population differences. d̄ is the sample mean of the differences of the pairs, and sd is the sample standard deviation of the differences.

There are three possible hypothesis setups, always comparing μd to 0.

Always identify the claim. The claim could be either hypothesis and must be determined by the context of the problem.

Be very careful in choosing the correct hypothesis. Words such as "improve", "increase", or "raises" usually mean Ha: μd < 0. Words such as "decrease", "lowers", or "reduces" usually mean Ha: μd > 0.

Left Tailed
Null Hypothesis Ho: μd ≥ 0
Alternative Hypothesis    Ha: μd < 0
 
Right Tailed
Null Hypothesis Ho: μd ≤ 0
Alternative Hypothesis Ha: μd > 0
 
Two Tailed
Null Hypothesis Ho: μd = 0
Alternative Hypothesis Ha: μd ≠ 0

The test is a one-sample t-test using d̄ and sd.