Skip to main content
Ch. 8 - Hypothesis Testing with Two Samples
Larson - Elementary Statistics: Picturing the World 8th Edition
Larson8th EditionElementary Statistics: Picturing the WorldISBN: 9780137493470Not the one you use?Change textbook
Chapter 8, Problem 8.3.9a

Testing the Difference Between Two Means (a) identify the claim and state Ho and Ha
[APPLET] Migraines
A researcher claims that injections of onabotulinumtoxinA reduce the number of days per month that chronic migraine sufferers have headaches. The table shows the number of days chronic migraine sufferers suffered migraines before and after using the treatment. At , α= 0.01 is there enough evidence to support the researcher’s claim? (Adapted from Journal of Headache and Pain)
Table comparing the number of migraine days before and after treatment for 18 patients.

Verified step by step guidance
1
Step 1: Identify the claim and hypotheses. The claim is that injections of onabotulinumtoxinA reduce the number of days per month that chronic migraine sufferers have headaches. The null hypothesis (H₀) states that there is no difference in the mean number of migraine days before and after treatment (μ₁ = μ₂). The alternative hypothesis (Hₐ) states that the mean number of migraine days after treatment is less than before treatment (μ₁ > μ₂).
Step 2: Calculate the differences for each patient. For each patient, subtract the number of migraine days after treatment from the number of migraine days before treatment. This will give the difference (d) for each patient.
Step 3: Compute the mean and standard deviation of the differences. Use the formula for the mean: d=dn, where d is the difference for each patient and n is the total number of patients. For the standard deviation, use the formula: s=(d-d)2)n-1.
Step 4: Perform a t-test for paired samples. Use the formula for the t-statistic: t=d-μsn, where μ is the hypothesized mean difference (0 in this case), s is the standard deviation of the differences, and n is the number of patients.
Step 5: Compare the calculated t-statistic to the critical t-value at α = 0.01. Determine the degrees of freedom (df = n - 1) and find the critical t-value from the t-distribution table. If the calculated t-statistic is greater than the critical t-value, reject the null hypothesis and conclude that there is enough evidence to support the claim. Otherwise, fail to reject the null hypothesis.

Verified video answer for a similar problem:

This video solution was recommended by our tutors as helpful for the problem above.
Video duration:
4m
Was this helpful?

Key Concepts

Here are the essential concepts you must grasp in order to answer the question correctly.

Hypothesis Testing

Hypothesis testing is a statistical method used to make decisions about a population based on sample data. It involves formulating two competing hypotheses: the null hypothesis (H0), which states there is no effect or difference, and the alternative hypothesis (Ha), which suggests there is an effect or difference. In this context, the null hypothesis would assert that onabotulinumtoxinA has no effect on the number of migraine days, while the alternative would claim it does reduce the number of days.
Recommended video:
05:52
Performing Hypothesis Tests: Proportions

Paired Sample t-Test

A paired sample t-test is used to compare the means of two related groups to determine if there is a statistically significant difference between them. In this scenario, the test will analyze the number of migraine days before and after treatment for the same patients. This method accounts for the fact that the samples are not independent, as they come from the same subjects, thus providing a more accurate assessment of the treatment's effect.
Recommended video:
Guided course
07:23
Matched Pairs: Hypothesis Tests

Significance Level (α)

The significance level, denoted as α, is the threshold for determining whether the results of a statistical test are significant. In this case, α is set at 0.01, meaning there is a 1% risk of concluding that a difference exists when there is none (Type I error). If the p-value obtained from the t-test is less than 0.01, the null hypothesis will be rejected, providing strong evidence to support the researcher's claim that the treatment reduces migraine days.
Recommended video:
03:33
Finding Binomial Probabilities Using TI-84 Example 1
Related Practice
Textbook Question

Find the critical value(s) for the alternative hypothesis, level of significance , and sample sizes and . Assume that the samples are random and independent, the populations are normally distributed, and the population variances are (a) equal

Ha:μ1≠μ2 , α=0.01 , n1=19 , n2=22

52
views
Textbook Question

Find the critical value(s) for the alternative hypothesis, level of significance , and sample sizes and . Assume that the samples are random and independent, the populations are normally distributed, and the population variances are (a) equal

Ha:μ1≠μ2 , α=0.10 , n1=11 , n2=14

48
views
Textbook Question

Testing the Difference Between Two Means (a) identify the claim and state Ho and Ha .Assume the samples are random and dependent, and the populations are normally distributed.

[APPLET] Passing Play Percentages The passing play percentages of 10 randomly selected NCAA Division 1A college football teams for home and away games in the 2020–2021 season are shown in the table. At , α=0.20 is there enough evidence to support the claim that passing play percentage is different for home and away games? (Source: TeamRankings)

48
views
Textbook Question

Find the critical value(s) for the alternative hypothesis, level of significance , and sample sizes and . Assume that the samples are random and independent, the populations are normally distributed, and the population variances are (a) equal

Ha:μ1<μ2 , α=0.05 , n1=7 , n2=11

54
views
Textbook Question

Testing the Difference Between Two Means (a) identify the claim and state Ho and Ha ,Assume the samples are random and dependent, and the populations are normally distributed.

Interval Training

A researcher claims that sprint interval training improves running performance in trained athletes. The table shows the maximum aerobic speed (MAS), in kilometers per hour, of trained athletes before and after six sessions of sprint interval training. At , α=0.10 is there enough evidence to support the researcher’s claim? (Adapted from National Strength and Conditioning Association)

44
views
Textbook Question

Confounding Variables A pharmaceutical company has applied for approval to market a new arthritis medication. The research involved a test group that was given the medication and another test group that was given a placebo. Describe some possible confounding variables that could influence the results of the study.

76
views