) Write the null and alternative hypotheses is in words O State the appropriate test statistic. State it's distribution under the null hypothesis (and give the the associated degrees of freedom if appropriate). O State the p-value. O What is the conclusion of the hypothesis test? Be sure to talk about the context of this problem.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question
5. An exercise science professor at a large university conducted a study to investigate some
of the health benefits of Zumba. He recorded the weight of 9 female college students
before they began a six week long Zumba program. As part of the program, they took
a 60 minute long Zumba class three days a week. At the end of the program, the
subjects were weighed again. Of interest is their weight loss, defined as weight before
the program started minus weight after completing the program.
Student
Before Weight 134
After Weight
1
2
3
5
6 7 8
152 145
120 136 129
163 147 131
131
147 144
121
134
125 156 144 131
Some R code is provided below:
before <- c(134, 152, 145, 120, 136, 129, 163, 147, 131)
after <- c(131, 147, 144, 121, 134, 125, 156, 144, 131)
R CODE (OPTION 1):
t.test(before, after, alternative="greater") t.test(before, after, paired=T, alternative="greater")
R CODE (OPTION 2):
Welch Two Sample t-test
Paired t-test
data:
before and after
data: before and after
t = 0.45808, df = 15.659, p-value = 0.3266
alternative hypothesis: true difference...
95 percent confidence interval:
t = 3.2, df = 8, p-value = 0.006306
alternative hypothesis: true difference...
95 percent confidence interval:
-7.510436
Inf
1.117043
Inf
sample estimates:
mean of the differences
sample estimates:
mean of x mean of y
139.6667 137.0000
2.666667
Test, at the 1% significance level, if there is evidence that the Zumba program is effective
for weight loss.
(a) Write the null and alternative hypotheses is in words
(b) State the appropriate test statistic. State it's distribution under the null hypothesis
(and give the the associated degrees of freedom if appropriate).
(c) State the p-value.
(d) What is the conclusion of the hypothesis test? Be sure to talk about the context
of this problem.
Transcribed Image Text:5. An exercise science professor at a large university conducted a study to investigate some of the health benefits of Zumba. He recorded the weight of 9 female college students before they began a six week long Zumba program. As part of the program, they took a 60 minute long Zumba class three days a week. At the end of the program, the subjects were weighed again. Of interest is their weight loss, defined as weight before the program started minus weight after completing the program. Student Before Weight 134 After Weight 1 2 3 5 6 7 8 152 145 120 136 129 163 147 131 131 147 144 121 134 125 156 144 131 Some R code is provided below: before <- c(134, 152, 145, 120, 136, 129, 163, 147, 131) after <- c(131, 147, 144, 121, 134, 125, 156, 144, 131) R CODE (OPTION 1): t.test(before, after, alternative="greater") t.test(before, after, paired=T, alternative="greater") R CODE (OPTION 2): Welch Two Sample t-test Paired t-test data: before and after data: before and after t = 0.45808, df = 15.659, p-value = 0.3266 alternative hypothesis: true difference... 95 percent confidence interval: t = 3.2, df = 8, p-value = 0.006306 alternative hypothesis: true difference... 95 percent confidence interval: -7.510436 Inf 1.117043 Inf sample estimates: mean of the differences sample estimates: mean of x mean of y 139.6667 137.0000 2.666667 Test, at the 1% significance level, if there is evidence that the Zumba program is effective for weight loss. (a) Write the null and alternative hypotheses is in words (b) State the appropriate test statistic. State it's distribution under the null hypothesis (and give the the associated degrees of freedom if appropriate). (c) State the p-value. (d) What is the conclusion of the hypothesis test? Be sure to talk about the context of this problem.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman