# 10.4 Matched or paired samples  (Page 3/1)

 Page 1 / 1
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. Thepopulation mean for the differences, ${\mu }_{d}$ , is then tested using a Student-t test for a single population mean with $n-1$ degrees of freedom where $n$ is the number of differences.

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

$t=\frac{\overline{{x}_{d}}-{\mu }_{d}}{\left(\frac{{s}_{d}}{\sqrt{n}}\right)}$

## Matched or paired samples

A study was conducted to investigate the effectiveness of hypnotism in reducing pain. Results forrandomly 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.

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

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

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

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: $\phantom{\rule{20pt}{0ex}}\overline{{x}_{d}}=-3.13$ and ${s}_{d}=2.91$ Verify these values.

Let ${\mu }_{d}$ be the population mean for the differences. We use the subscript $d$ to denote "differences."

Random Variable: $\overline{{X}_{d}}$ = the mean difference of the sensory measurements

${H}_{o}:{\mu }_{d}\ge 0$
There is no improvement. ( ${\mu }_{d}$ is the population mean of the differences.)

${H}_{a}:{\mu }_{d}<0$
There is improvement. The score should be lower after hypnotism so the difference ought to be negativeto indicate improvement.

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

Calculate the p-value using the Student-t distribution: $\text{p-value}=0.0095$

Graph:

${\overline{X}}_{d}$ is the random variable for thedifferences.

The sample mean and sample standarddeviation of the differences are:

${\overline{x}}_{d}=-3.13$

${\overline{s}}_{d}=2.91$

Compare $\alpha$ and the p-value: $\alpha =0.05$ and $\text{p-value}=0.0095$ . $\alpha >\text{p-value}$ .

Make a decision: Since $\alpha >\text{p-value}$ , reject ${H}_{o}$ .

This means that ${\mu }_{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 afterhypnotism. Hypnotism appears to be effective in reducing pain.

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 calculatorwill do the subtraction and you will have the differences in the third list.
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 ${\mu }_{0}$ , the name of the list where you put the data, and 1 for Freq:. Arrow down to μ : and arrow over to < ${\mu }_{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 exceptarrow to Draw (instead of Calculate ). Press ENTER .

A college football coach was interested in whether the college's strength development class increased his players' maximum lift (in pounds) on the benchpress 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 developmentclass. After completing the class, the amount of weight they could each lift was again measured. The data are as follows:

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.

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. Thedata 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.

${\overline{x}}_{d}=21.3\phantom{\rule{40pt}{0ex}}{s}_{d}=46.7$

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

Define the random variable: ${\overline{X}}_{d}=$ mean difference in the maximum lift per player.

The distribution for the hypothesis test is ${t}_{3}$ .

${H}_{o}:{\mu }_{d}\le 0\phantom{\rule{40pt}{0ex}}{H}_{a}:{\mu }_{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 $\alpha <\text{p-value}$ .

What is the conclusion?

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.

Seven eighth graders at Kennedy Middle School measured how farthey 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 eitherhand. The following data was collected.

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

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

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

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

${H}_{0}$ : ${\mu }_{d}$ equals 0; ${H}_{a}$ : ${\mu }_{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.

how can chip be made from sand
are nano particles real
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
no can't
Lohitha
where we get a research paper on Nano chemistry....?
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
what is hormones?
Wellington
1 It is estimated that 30% of all drivers have some kind of medical aid in South Africa. What is the probability that in a sample of 10 drivers: 3.1.1 Exactly 4 will have a medical aid. (8) 3.1.2 At least 2 will have a medical aid. (8) 3.1.3 More than 9 will have a medical aid.