# Connexions

You are here: Home » Content » Collaborative Statistics » Matched or Paired Samples

## Navigation

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Inside Collection (Textbook):

Textbook by: Barbara Illowsky, Ph.D., Susan Dean. E-mail the authors

# Matched or Paired Samples

Summary: This module provides an overview of Hypothesis Testing: Matched or Paired Samples as a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean.

1. Simple random sampling is used.
2. Sample sizes are often small.
3. Two measurements (samples) are drawn from the same pair of individuals or objects.
4. Differences are calculated from the matched or paired samples.
5. The differences form the sample that is used for the hypothesis test.
6. The matched pairs have differences that either come from a population that is normal or the number of differences is sufficiently large so the distribution of the sample mean of differences is approximately normal.

In a hypothesis test for matched or paired samples, subjects are matched in pairs and differences are calculated. The differences are the data. The population mean for the differences, μ d μ d , is then tested using a Student-t test for a single population mean with n-1n-1 degrees of freedom where nn is the number of differences.

## The test statistic (t-score) is:

t = x d ¯ μ d ( s d n ) t= x d ¯ μ d ( s d n )
(1)

## Example 1: Matched or paired samples

A study was conducted to investigate the effectiveness of hypnotism in reducing pain. Results for randomly selected subjects are shown in the table. The "before" value is matched to an "after" value and the differences are calculated. The differences have a normal distribution.

Table 1
Subject: A B C D E F G H
Before 6.6 6.5 9.0 10.3 11.3 8.1 6.3 11.6
After 6.8 2.4 7.4 8.5 8.1 6.1 3.4 2.0

### Problem 1

Are the sensory measurements, on average, lower after hypnotism? Test at a 5% significance level.

#### Solution

Corresponding "before" and "after" values form matched pairs. (Calculate "sfter" - "before").

Table 2
After Data Before Data Difference
6.8 6.6 0.2
2.4 6.5 -4.1
7.4 9 -1.6
8.5 10.3 -1.8
8.1 11.3 -3.2
6.1 8.1 -2
3.4 6.3 -2.9
2 11.6 -9.6

The data for the test are the differences: {0.2, -4.1, -1.6, -1.8, -3.2, -2, -2.9, -9.6}

The sample mean and sample standard deviation of the differences are: x d ¯ = -3.13 x d =-3.13 and s d = 2.91 s d =2.91 Verify these values.

Let μ d μ d be the population mean for the differences. We use the subscript dd to denote "differences."

Random Variable: X d ¯ X d = the mean difference of the sensory measurements

H o : μ d 0 H o : μ d 0
(2)
There is no improvement. ( μ d μ d is the population mean of the differences.)

H a : μ d < 0 H a : μ d <0
(3)
There is improvement. The score should be lower after hypnotism so the difference ought to be negative to indicate improvement.

Distribution for the test: The distribution is a student-t with df = n - 1 = 8 - 1 = 7 df=n-1=8-1=7. Use t 7 t 7 . (Notice that the test is for a single population mean.)

Calculate the p-value using the Student-t distribution: p-value = 0.0095p-value=0.0095

Graph:

X¯ d X d is the random variable for the differences.

The sample mean and sample standard deviation of the differences are:

x¯ d = -3.13 x d =-3.13

s¯ d = 2.91 s d =2.91

Compare αα and the p-value: α = 0.05α=0.05 and p-value = 0.0095 p-value=0.0095. α > p-valueα>p-value.

Make a decision: Since α> p-valueα>p-value, reject H o H o .

This means that μ d < 0 μ d <0 and there is improvement.

Conclusion: At a 5% level of significance, from the sample data, there is sufficient evidence to conclude that the sensory measurements, on average, are lower after hypnotism. Hypnotism appears to be effective in reducing pain.

##### Note:
For the TI-83+ and TI-84 calculators, you can either calculate the differences ahead of time (after - before) and put the differences into a list or you can put the after data into a first list and the before data into a second list. Then go to a third list and arrow up to the name. Enter 1st list name - 2nd list name. The calculator will do the subtraction and you will have the differences in the third list.
##### Note:
TI-83+ and TI-84: Use your list of differences as the data. Press STAT and arrow over to TESTS. Press 2:T-Test. Arrow over to Data and press ENTER. Arrow down and enter 0 for μ0μ0, the name of the list where you put the data, and 1 for Freq:. Arrow down to μ: and arrow over to < μ0μ0. Press ENTER. Arrow down to Calculate and press ENTER. The p-value is 0.0094 and the test statistic is -3.04. Do these instructions again except arrow to Draw (instead of Calculate). Press ENTER.

## Example 2

A college football coach was interested in whether the college's strength development class increased his players' maximum lift (in pounds) on the bench press exercise. He asked 4 of his players to participate in a study. The amount of weight they could each lift was recorded before they took the strength development class. After completing the class, the amount of weight they could each lift was again measured. The data are as follows:

Table 3
Weight (in pounds) Player 1 Player 2 Player 3 Player 4
Amount of weighted lifted prior to the class 205 241 338 368
Amount of weight lifted after the class 295 252 330 360

The coach wants to know if the strength development class makes his players stronger, on average.

### Problem 1

Record the differences data. Calculate the differences by subtracting the amount of weight lifted prior to the class from the weight lifted after completing the class. The data for the differences are: {90, 11, -8, -8}. The differences have a normal distribution.

Using the differences data, calculate the sample mean and the sample standard deviation.

x¯ d = 21.3 s d = 46.7 x d =21.3 s d =46.7

Using the difference data, this becomes a test of a single __________ (fill in the blank).

Define the random variable: X¯ d = X d = mean difference in the maximum lift per player.

The distribution for the hypothesis test is t 3 t 3 .

H o : μ d 0 H a : μ d > 0 H o : μ d 0 H a : μ d >0

Graph:

Calculate the p-value: The p-value is 0.2150

Decision: If the level of significance is 5%, the decision is to not reject the null hypothesis because α < p-value α<p-value.

What is the conclusion?

#### Solution

means; At a 5% level of significance, from the sample data, there is not sufficient evidence to conclude that the strength development class helped to make the players stronger, on average.

## Example 3

Seven eighth graders at Kennedy Middle School measured how far they could push the shot-put with their dominant (writing) hand and their weaker (non-writing) hand. They thought that they could push equal distances with either hand. The following data was collected.

Table 4
Distance (in feet) using Student 1 Student 2 Student 3 Student 4 Student 5 Student 6 Student 7
Dominant Hand 30 26 34 17 19 26 20
Weaker Hand 28 14 27 18 17 26 16

### Problem 1

Conduct a hypothesis test to determine whether the mean difference in distances between the children's dominant versus weaker hands is significant.

#### Hint:

use a t-test on the difference data. Assume the differences have a normal distribution. The random variable is the mean difference.

#### Check:

The test statistic is 2.18 and the p-value is 0.0716.

What is your conclusion?

#### Solution

H0H0: μdμd equals 0; HaHa: μdμd does not equal 0; Do not reject the null; At a 5% significance level, from the sample data, there is not sufficient evidence to conclude that the mean difference in distances between the children's dominant versus weaker hands is significant (there is not sufficient evidence to show that the children could push the shot-put further with their dominant hand). Alpha and the p-value are close so the test is not strong.

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

### Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

### Add:

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks