<< Chapter < Page | Chapter >> Page > |
When using a hypothesis test for matched or paired samples, the following characteristics should be present:
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 , is then tested using a Student's-t test for a single population mean with n – 1 degrees of freedom, where n is the number of differences.
A study was conducted to investigate the effectiveness of hypnotism in reducing pain. Results for randomly selected subjects are shown in [link] . A lower score indicates less pain. The "before" value is matched to an "after" value and the differences are calculated. The differences have a normal distribution. Are the sensory measurements, on average, lower after hypnotism? Test at a 5% significance level.
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 |
Corresponding "before" and "after" values form matched pairs. (Calculate "after" – "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: and Verify these values.
Let be the population mean for the differences. We use the subscript to denote "differences."
Random variable: = the mean difference of the sensory measurements
H 0 : μ d ≥ 0
The null hypothesis is zero or positive, meaning that there is the same or more pain felt after hypnotism. That means the subject shows no improvement. μ d is the population mean of the differences.)
H a : μ d <0
The alternative hypothesis is negative, meaning there is less pain felt after hypnotism. That means the subject shows 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's t with 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's-t distribution: p -value = 0.0095
Graph:
is the random variable for the differences.
The sample mean and sample standard deviation of the differences are:
= –3.13
= 2.91
Compare α and the p -value: α = 0.05 and p -value = 0.0095. α > p -value.
Make a decision: Since α > p -value, reject H 0 . This means that μ 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.
Notification Switch
Would you like to follow the 'Statistics i - math1020 - red river college - version 2015 revision a - draft 2015-10-24' conversation and receive update notifications?