Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hypothesis: The mean price of 12 dozen eggs sold at Whole Foods is greater than

ID: 3227062 • Letter: H

Question

Hypothesis: The mean price of 12 dozen eggs sold at Whole Foods is greater than the mean price of 12 dozen eggs sold at Wal-Mart.

Means: Eggs sold @ Safeway ($4.19, 6.49, 2.50, 2.99, 4.49, 3.99, 5.09, 0.99, 3.99, 3.99)= $38.71/10= $3.81
   Eggs sold @ Whole Foods ($5.99, 4.69, 6.79, 8.69, 3.29, 4.69, 3.29, 5.99, 3.99, 3.19)= $50.60/10

State in words random variable, populations, and samples.

Choose an -level for your test and justify your choice.

Show all the steps of a hypothesis test including the conclusion. Include your calculations/R commands.

Interpret your confidence interval and explain what it means in terms of the real world. Include yourcalculations/R commands.

PLEASE SHOW WORK

Explanation / Answer

Null Hypothesis: The mean price of 12 dozen eggs sold at Whole Foods is equal the mean price of 12 dozen eggs sold at Wal-Mart.

Aslternative Hypothesis: There is a significant difference in mean price of 12 dozen eggs sold at Whole Foods is equal the mean price of 12 dozen eggs sold at Wal-Mart.

alpha level = 0.05

Test statistics:

Conclusion: Since the p-vaue is 0.1248, Hence we accept null hypothesis and conclude that the mean price of 12 dozen eggs sold at Whole Foods is equal the mean price of 12 dozen eggs sold at Wal-Mart.

I have done this in R code :

Following are the commands

safe_food=c(4.19, 6.49, 2.50, 2.99, 4.49, 3.99, 5.09, 0.99, 3.99, 3.99)

Whole_food=c(5.99, 4.69, 6.79, 8.69, 3.29, 4.69, 3.29, 5.99, 3.99, 3.19)

t.test(safe_food,Whole_food)