Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Statistics LibreTexts

11.3: Dependent Sampling – Matched Pairs t‐test

( \newcommand{\kernel}{\mathrm{null}\,}\)

The independent models shown above compared samples that were not related. However, it is often advantageous to have related samples that are paired up – two measurements from a single population. The model we will consider here is called the matched pairs t‐test also known as the paired difference t‐test. The advantage of this design is that we can eliminate variability because other factors are not being studied, increasing the power of the design.

In this model we take the difference of each pair and create a new population of differences, so if effect, the hypothesis test is a one population test of mean that we already covered in the prior section.

Matched pairs t‐test to compare the means for two dependent populations

Model Assumptions

  • Dependent Sampling
  • Xd=X1X2
  • ¯Xd=¯X1¯X2 approximately Normal

Test Statistic

  • t=¯Xdμdsd/n
  • df=n1

Example: Rental cars

An independent testing agency is comparing the daily rental cost for renting a compact car from Hertz and Avis.   

clipboard_e7932122021c14e748922d7c3df58e948.png

A random sample of 15 cities is obtained and the following rental information obtained.   

clipboard_e3864ae1455184ed92a227db8ae460063.png

At the .05 significance level can the testing agency conclude that there is a difference in the rental charged?

Notice in this example that cities are the single population being sampled and that two measurements (Hertz and Avis) are being taken from each city. Using the matched pair design, we can eliminate the variability due to cities being differently priced (Honolulu is cheap because you can’t drive very far on Oahu!)

Solution

Design

Research Hypotheses:  

Ho:μ1=μ2 (Hertz and Avis have the same mean price for compact cars.)

Ha:μ1μ2 (Hertz and Avis do not have the same mean price for compact cars.)

Model will be matched pair t‐test and these hypotheses can be restated as: Ho:μd=0Ha:μd0

The test will be run at a level of significance (α) of 5%.

Model is two‐tailed matched pairs t‐test with 14 degrees of freedom. Reject Ho if t < ‐2.145 or t >2.145

Data/Results

clipboard_e3170763f0a1ddba188ba37221a736cc7.png

We take the difference for each pair and find the sample mean and standard deviation.

\begin{aligned} \overline{X}_{d}&=1.80 \\ s_{d}& = 2.513\\ n &= 15\\ t&=\dfrac{1.80-0}{2.513/\sqrt{15}}=2.77 \end{aligned}

clipboard_ed30171c8caf4351437af4c53b97207f7.png

Reject H_o under either the critical value or p‐value method.

Conclusion

There is a difference in mean price for compact cars between Hertz and Avis. Avis has lower mean prices.

The advantage of the matched pair design is clear in this example. The sample standard deviation for the Hertz prices is $5.23 and for Avis it is $5.62. Much of this variability is due to the cities, and the matched pairs design dramatically reduces the standard deviation to $2.51, meaning the matched pairs t‐test has significantly more power in this example.

 


This page titled 11.3: Dependent Sampling – Matched Pairs t‐test is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Maurice A. Geraghty via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?