Question

In: Statistics and Probability

Many consumers pay careful attention to stated nutritional contents on packaged foods when making purchases. It...

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 data:

255

244

239

242

265

245

259

248

225

226

251

233

[a] Use R (or Excel) to find the summary statistics of the data.                                                         [1 pt]

Copy and paste your computer printout here (or to a blank MS Word document).

[b] Construct a boxplot for the data and comment on any interesting features.                                [4 pt]

Copy and paste your computer printout here (or to a blank MS Word document).

[c] Construct a normal probability plot (QQplot as well as qqline) and comment on any interesting features.                                                                                                                                            [4 pt]

Copy and paste your computer printout here (or to a blank MS Word document).

[d] Use an appropriate test to ensure the data set satisfies the normality assumption.                      [3 pt]

What is your conclusion regarding the data set?

[e] Is it reasonable to test hypotheses about mean calorie content m by using a t-test? Explain why or why not.                                                                                                                                       

Answer:           Yes                  No                   E Circle one                                                              [1 pt]

Explanation:                                                                                                                                       [3 pt]

[e] The stated calorie content is m = 240. Does the boxplot in [a] suggest the true mean content differs from the stated value? Explain your reasoning.                                                                               [3 pt]

[f] Carry out a formal test of the hypotheses suggested in part [e]                                                   

Write your hypotheses in symbols and in words.                                                                               [8 pt]

Use statistical software (such as R) to get analysis results. State what the results tell you about the data.                                                                                                                                                               [8 pt]

Solutions

Expert Solution

Solution:

summary statistics are:

length(caloriecontent)
12
mean(caloriecontent)
244.3333
sd(caloriecontent)
12.38278
summary(caloriecontent)
Min. 1st Qu. Median Mean 3rd Qu. Max.
225.0 237.5 244.5 244.3 252.0 265.0

From sumamry

mean=244.333

standard deviation=12.38278

sample szie=n=12

Min=225

Q1=237.5

median=244.5

Q3=252.0

max=265.0

Solutionb:

Rcode:

caloriecontent <- c(255,
  
244,
  
239,
  
242,
  
265,
  
245,
  
259,
  
248,
  
225,
  
226,
  
251,
  
233)
boxplot(caloriecontent,main="boxplot for frozen dinners -caloriecontent")
abline(h = min(caloriecontent), col = "Blue")
abline(h = max(caloriecontent), col = "Yellow")
abline(h = median(caloriecontent), col = "Green")
abline(h = quantile(caloriecontent, c(0.25, 0.75)), col = "Red")

fivenum(caloriecontent)

From bxoplot we observe

no outilers

Fiveumber sumamry is

225.0 236.0 244.5 253.0 265.0

MIN=225

Q1=236

Q2=244.5

Q3=253

MAX=265

Solutionc:

Rcode:

qqnorm(caloriecontent)
qqline(caloriecontent)

From normal QQ plot we observe

sample follows normal distribution

as most of the points fall on the straight line

[d] Use an appropriate test to ensure the data set satisfies the normality assumption.   

perform shapiro .test

Null hypothesis:Data comes from normal distribution

Alternative hypothesis:Data do not come from normal distribution

Rcode:

shapiro.test(caloriecontent)

output:


   Shapiro-Wilk normality test

data: caloriecontent
W = 0.97361, p-value = 0.9447

test statistic=0.97361

p=0.9447

p>0.05

Fail to reject Ho.

Accept H0.
There is suffcient evidence to conclude that the data comes from normal distribution.


Related Solutions

Many consumers pay careful attention to stated nutritional contents on packaged foods when making purchases. It...
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...
Many consumers pay careful attention to stated nutritional contents on packaged foods when making purchases, so...
Many consumers pay careful attention to stated nutritional contents on packaged foods when making purchases, so it is important that the information on packages be accurate. The distribution of calorie content has been shown to be approximately normally distributed. A random sample of 12 frozen dinners of a certain type was selected and the calorie content of each one was determined to be 255, 244, 239, 242, 265, 245, 259, 248, 225, 226, 251, and 232. (a) Determine the sample...
In response to concerns about nutritional contents of fast foods, McDonald's has announced that it will...
In response to concerns about nutritional contents of fast foods, McDonald's has announced that it will use a new cooking oil for its french fries that will decrease substantially trans fatty acid levels and increase the amount of more beneficial polyunsaturated fat. The company claims that 97 out of 100 people cannot detect a difference in taste between the new and old oils. Assuming that this figure is correct (as a long-run proportion), what is the approximate probability that in...
Read the following assessment task. Pay careful attention to the exact requirements of the task. Then...
Read the following assessment task. Pay careful attention to the exact requirements of the task. Then look at the student’s response. For this task you should : a.Write a couple of sentences assessing how well the student has carried out the task. b.Write the student some feedback based on whether they have completed the task well or whether they have omitted parts of it. Use supportive language while you are providing advice on how they can improve in future assessment...
Contrast traditional allopathic medicine with other forms of healthcare. Pay careful attention to the assumptions that...
Contrast traditional allopathic medicine with other forms of healthcare. Pay careful attention to the assumptions that different approaches use. What are many factors that create different values for different approaches? How may this be related to tradition and orthodoxy? Does this always result in positive health outcomes?
According to a global Nielson report, 66% of North Americans pay more attention to the nutritional...
According to a global Nielson report, 66% of North Americans pay more attention to the nutritional information on a package than they did two years ago. A random sample of 400 individuals from North America showed that 300 people stated that they did pay more attention to the nutritional information on a package than they did two years ago. We are interested in testing to see if the proportion has changed. Calculate the p-value and assess the strength of evidence...
What aspects should be considered when making the nutritional estimate of the patient?
THEME: NASOGASTRIC TUBE INSERTIONDescribe the components and general functions of the gastrointestinal (GI) system.What aspects should be considered when making the nutritional estimate of the patient?What type of patient may present alterations in their eating pattern and need assistance from the nursing professional? Provide examples.Mention the effects of malnutrition on the patient.
Why must be careful when making assumptions about a practice that you feel is culturally universal?...
Why must be careful when making assumptions about a practice that you feel is culturally universal? ( incorporate your thoughts about the meaning of marriage)
As a business owner, financial decisions require careful planning and prioritizing, especially when large, capital-intensive purchases...
As a business owner, financial decisions require careful planning and prioritizing, especially when large, capital-intensive purchases are involved. As you establish a process to achieve your company goals, you will need to demonstrate your math skills, consider different investment options, and describe how different investment vehicles can be used effectively to accomplish business goals. You, as a small business owner, are interested in buying a lot for $38,000. You have a CD (certificate of deposit) worth $40,000 now, which earns...
1) When a market is missing: consumers' willingness to pay is too low to sustain the...
1)When a market is missing:consumers' willingness to pay is too low to sustain the efficient quantity.the government must create the market artificially.there is the potential for total surplus to increase through the creation of a new market.deadweight loss would increase, but only if more units are exchanged.2)A seller's willingness to sell:is determined by the buyer's willingness to pay.can never be higher than the market price.is determined by the opportunity cost of producing and selling her good.must always be equal to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT