Skip to content Skip to navigation Skip to collection information

OpenStax-CNX

You are here: Home » Content » Collaborative Statistics: Custom Version modified by R. Bloom » Matched or Paired Samples

Navigation

Table of Contents

Lenses

What is a lens?

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? tag icon

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

This content is ...

Endorsed by Endorsed (What does "Endorsed by" mean?)

This content has been endorsed by the organizations listed. Click each link for a list of all content endorsed by the organization.
  • College Open Textbooks display tagshide tags

    This module is included inLens: Community College Open Textbook Collaborative
    By: CC Open Textbook CollaborativeAs a part of collection: "Collaborative Statistics"

    Comments:

    "Reviewer's Comments: 'I recommend this book. Overall, the chapters are very readable and the material presented is consistent and appropriate for the course. A wide range of exercises introduces […]"

    Click the "College Open Textbooks" link to see all content they endorse.

    Click the tag icon tag icon to display tags associated with this content.

  • JVLA Endorsed

    This module is included inLens: Jesuit Virtual Learning Academy Endorsed Material
    By: Jesuit Virtual Learning AcademyAs a part of collection: "Collaborative Statistics"

    Comments:

    "This is a robust collection (textbook) approved by the College Board as a resource for the teaching of AP Statistics. "

    Click the "JVLA Endorsed" link to see all content they endorse.

  • WebAssign display tagshide tags

    This module is included inLens: WebAssign The Independent Online Homework and Assessment Solution
    By: WebAssignAs a part of collection: "Collaborative Statistics"

    Comments:

    "Online homework and assessment available from WebAssign."

    Click the "WebAssign" link to see all content they endorse.

    Click the tag icon tag icon to display tags associated with this content.

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • OrangeGrove display tagshide tags

    This module is included inLens: Florida Orange Grove Textbooks
    By: Florida Orange GroveAs a part of collection: "Collaborative Statistics"

    Click the "OrangeGrove" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Bookshare

    This module is included inLens: Bookshare's Lens
    By: Bookshare - A Benetech InitiativeAs a part of collection: "Collaborative Statistics"

    Comments:

    "DAISY and BRF versions of this collection are available."

    Click the "Bookshare" link to see all content affiliated with them.

  • Featured Content display tagshide tags

    This module is included inLens: Connexions Featured Content
    By: ConnexionsAs a part of collection: "Collaborative Statistics"

    Comments:

    "Collaborative Statistics was written by two faculty members at De Anza College in Cupertino, California. This book is intended for introductory statistics courses being taken by students at two- […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • statistics display tagshide tags

    This module is included inLens: Statistics
    By: Brylie OxleyAs a part of collection: "Collaborative Statistics"

    Click the "statistics" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

  • Lucy Van Pelt display tagshide tags

    This module is included inLens: Lucy's Lens
    By: Tahiya MaromeAs a part of collection: "Collaborative Statistics"

    Comments:

    "Part of the Books featured on Community College Open Textbook Project"

    Click the "Lucy Van Pelt" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

  • Educational Technology Lens display tagshide tags

    This module is included inLens: Educational Technology
    By: Steve WilhiteAs a part of collection: "Collaborative Statistics"

    Click the "Educational Technology Lens" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

  • Statistics

    This module is included inLens: Mathieu Plourde's Lens
    By: Mathieu PlourdeAs a part of collection: "Collaborative Statistics"

    Click the "Statistics" link to see all content selected in this lens.

  • statf12

    This module is included inLens: Statistics Fall 2012
    By: Alex KolesnikAs a part of collection: "Collaborative Statistics"

    Click the "statf12" link to see all content selected in this lens.

  • UTEP display tagshide tags

    This module is included inLens: Amy Wagler's Lens
    By: Amy WaglerAs a part of collection: "Collaborative Statistics"

    Click the "UTEP" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

  • Make Textbooks Affordable

    This module is included inLens: Make Textbooks Affordable
    By: Nicole AllenAs a part of collection: "Collaborative Statistics"

    Click the "Make Textbooks Affordable" link to see all content selected in this lens.

  • BUS204 Homework display tagshide tags

    This module is included inLens: Saylor BUS 204 Homework
    By: David BourgeoisAs a part of collection: "Collaborative Statistics"

    Comments:

    "Homework for Discrete Variables/Probability. "

    Click the "BUS204 Homework" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

  • crowe

    This module is included in aLens by: Chris RoweAs a part of collection: "Collaborative Statistics"

    Click the "crowe" link to see all content selected in this lens.

  • Bio 502 at CSUDH display tagshide tags

    This module is included inLens: Bio 502
    By: Terrence McGlynnAs a part of collection: "Collaborative Statistics"

    Comments:

    "This is the course textbook for Biology 502 at CSU Dominguez Hills"

    Click the "Bio 502 at CSUDH" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

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.
 

Matched or Paired Samples

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

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:

Figure 1
Normal distribution curve of the average difference of sensory measurements with values of -3.13 and 0. A vertical upward line extends from -3.13 to the curve, and the p-value is indicated in the area to the left of this value.

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:

Figure 2
Normal distribution curve with values of 0 and 21.3. A vertical upward line extends from 21.3 to the curve and the p-value is indicated in the area to the right of this value.

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.

Collection Navigation

Content actions

Download module as:

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? tag icon

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? tag icon

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