In: Statistics and Probability
Many consumers pay careful attention to stated nutritional contents on packaged foods when making purchases. It is therefore important that the information on packages be accurate. A random sample of n = 12 frozen dinners of a certain type was selected from production during a particular period, and the calorie content of each one was determined. (This determination entails destroying the product, so a census would certainly not be desirable!) Here are the resulting observations, along with a boxplot and normal probability plot. (To obtain the dataset for your analysis software, go to the Book Companion Website.)
255 | 244 | 239 | 242 | 265 | 245 | 259 | 248 |
225 | 226 | 251 | 233 |
A vertical boxplot has a vertical axis labeled "Calories" with values from 223 to 267. The top whisker is approximately at 265.0, the top-most edge of the box is near 253.0, the line inside the box is approximately 244.5, the bottom-most edge of the box is near 236.0, and the bottom whisker is at approximately 225.0.
(c) Carry out a formal test of the hypotheses suggested in part
(b). (Use Table 4 in Appendix A. Use α = 0.05. Round your test
statistic to two decimal places and your P-value to three
decimal places.)
t | = |
P=
In the question only part c was given. So, I only solved part c. Since there is no technique to find accurate p value manually, so I used linear interpolation where p value came 0.170. Whereas if any one can find accurately by using matlab or python or R. Accurate p value is .164, which is close to our linear interpolation. But for both the cases p value is greater than .05. So, we failed to reject null hypothesis and can conclude that true calorie content can be 239.