Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall the zone out duration (ZOD) data we looked at in one of the regression lectures from Lesson 3. An additional experiment was conducted to

image text in transcribed

image text in transcribed
Recall the zone out duration (ZOD) data we looked at in one of the regression lectures from Lesson 3. An additional experiment was conducted to look at the impact of sugary desserts eaten at lunch, two hours before class, and ZOD. Twelve students volunteered to participate in the experiment. Students were randomly assigned to eat a large slice of apple or cherry pie, with six participants randomized in each group. Two hours later, their ZODs (in minutes) were recorded during a 50-minute lecture. The data are in the file ZODTwoGroups.csv. a) b) e) d) C) i) a) Make a comparative boxplot for ZOD by pie type. Describe what you can get from the boxplots regarding the two distributions. Does there appear to be a difference between the ZODS for the two groups? Use set . seed (10} and then create 1000 permutations for the difference of mean ZOD for cherry pie minus the mean ZOD for apple pie. What is the observed difference in means for the sample data? Write out the statistical hypotheses, using symbols, for testing that the mean ZOD for cherry pie is greater than the mean ZOD for apple pie. Make a histogram of the null distribution and add a vertical line for the observed sample difference. WWW. Describe the shape of the null distribution and how the observed sample difference compares with the overall distribution. What is meant by the term \"null distribution\"? Calculate the p-value for this permutation test. If you set up your code correctly, you should get a small p-value S 0.005 or so. What is the meaning of this p-value as a probability? What do you conclude for this hypothesis test in the context of the

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Numerical Analysis

Authors: Richard L Burden, J Douglas Faires, Annette M Burden

10th Edition

1305465350, 9781305465350

More Books

Students also viewed these Mathematics questions

Question

What is a publicly held corporation?

Answered: 1 week ago

Question

4. Explain three ways we can use macroeconomic analysis.

Answered: 1 week ago