Answered step by step
Verified Expert Solution
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
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 le ZODTwoGroups.csv. a) b) Make a comparative boxplot for ZOD by pie type. Describe what you can get from the boxplots regarding the distributions of ZOD for apple and cherry pie. Does there appear to be a difference between the ZODs for the two groups? Use set. seed (15) 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 sample difference in means for the sample data? Write out the statistical hypotheses, using symbols, for testing that 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. Set the number of bins to 13. Describe the shape of the null distribution and how the observed sample difference compares with the overall distribution. Calculate the p-value for this permutation test. 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started