(a) State the hypotheses used in performing this test. (b) Using the output above, state the decision (Reject or Not Reject Ho) of the hypothesis test, as well as why you made that decision. (c) Based on the decision you made, state your conclusion in the context of the 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
Question
6. Setup: JP was curious about the sodium content of organic cornflakes. To investigate
this, twenty 300-gram boxes of organic cornflakes were obtained and the sodium content
was measured. The data (in milligrams) are as follows:
131.1, 130.7, 130.9, 129.5, 129.6,
128.8, 130.7, 128.3, 128.2, 129.7,
130.1, 129.3, 128.7, 129.0, 129.4,
130.4, 129.5, 130.1, 129.8, 130.0
Task: Perform a hypothesis test using R to determine if you can support a claim that the
mean sodium content of this brand of cornflakes differs from 130 milligrams? Use a = 0.08
to make your decision.
R Output: Upon running your analysis in R, you obtain the following results:
One Sample t-test
data:
corn
= 0.1121
t = -1.6659, df =
alternative hypothesis: true mean is not equal to 130
19, р-value
92 percent confidence interval:
129.3458 130.0342
sample estimates:
mean of x
129.69
Questions:
(a) State the hypotheses used in performing this test.
(b) Using the output above, state the decision (Reject or Not Reject Ho) of the hypothesis
test, as well as why you made that decision.
(c) Based on the decision you made, state your conclusion in the context of the problem.
Transcribed Image Text:6. Setup: JP was curious about the sodium content of organic cornflakes. To investigate this, twenty 300-gram boxes of organic cornflakes were obtained and the sodium content was measured. The data (in milligrams) are as follows: 131.1, 130.7, 130.9, 129.5, 129.6, 128.8, 130.7, 128.3, 128.2, 129.7, 130.1, 129.3, 128.7, 129.0, 129.4, 130.4, 129.5, 130.1, 129.8, 130.0 Task: Perform a hypothesis test using R to determine if you can support a claim that the mean sodium content of this brand of cornflakes differs from 130 milligrams? Use a = 0.08 to make your decision. R Output: Upon running your analysis in R, you obtain the following results: One Sample t-test data: corn = 0.1121 t = -1.6659, df = alternative hypothesis: true mean is not equal to 130 19, р-value 92 percent confidence interval: 129.3458 130.0342 sample estimates: mean of x 129.69 Questions: (a) State the hypotheses used in performing this test. (b) Using the output above, state the decision (Reject or Not Reject Ho) of the hypothesis test, as well as why you made that decision. (c) Based on the decision you made, state your conclusion in the context of the problem.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar 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