The dataset Beers.csv compares the reaction time of 20 individuals in a driving obstancles course before and after consuming 2 standard alcohol units. Use a = 0.05. (a) Test the hypothesis that 2 alcoholic beverages makes individuals reaction time worse by greater than 1 second. (b) Comment on the assumptions of your test in a). (c) A car traveling at 40 miles per hour travels about 164 feet before braking on seeing a hazard in the road. Half of that distance is due to reaction time, and the other half due to braking deceleration. Find the probability of detecting an increase in reaction time of 2s for an individual in this dataset. Use the standard deviation of the pairwise difference as your od. (d) Interpret your conclusions in c). Is your sample size big enough to detect such a difference? (e) Provide a 95% confidence interval for the increase in reaction time after two drinks. (f) Perform a hypothesis test to assess the claim that a correlation exists between reaction time before and after two standard drinks.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
By using r studio pls answer parts a-f
The dataset Beers.csv compares the reaction time of 20 individuals in a driving obstancles course
before and after consuming 2 standard alcohol units. Use a = 0.05.
(a) Test the hypothesis that 2 alcoholic beverages makes individuals reaction time worse by greater
than 1 second.
(b) Comment on the assumptions of your test in a).
(c) A car traveling at 40 miles per hour travels about 164 feet before braking on seeing a hazard
in the road. Half of that distance is due to reaction time, and the other half due to braking
deceleration. Find the probability of detecting an increase in reaction time of 2s for an individual
in this dataset. Use the standard deviation of the pairwise difference as your od.
(d) Interpret your conclusions in c). Is your sample size big enough to detect such a difference?
(e) Provide a 95% confidence interval for the increase in reaction time after two drinks.
(f) Perform a hypothesis test to assess the claim that a correlation exists between reaction time before
and after two standard drinks.
Transcribed Image Text:The dataset Beers.csv compares the reaction time of 20 individuals in a driving obstancles course before and after consuming 2 standard alcohol units. Use a = 0.05. (a) Test the hypothesis that 2 alcoholic beverages makes individuals reaction time worse by greater than 1 second. (b) Comment on the assumptions of your test in a). (c) A car traveling at 40 miles per hour travels about 164 feet before braking on seeing a hazard in the road. Half of that distance is due to reaction time, and the other half due to braking deceleration. Find the probability of detecting an increase in reaction time of 2s for an individual in this dataset. Use the standard deviation of the pairwise difference as your od. (d) Interpret your conclusions in c). Is your sample size big enough to detect such a difference? (e) Provide a 95% confidence interval for the increase in reaction time after two drinks. (f) Perform a hypothesis test to assess the claim that a correlation exists between reaction time before and after two standard drinks.
Before After
6.25 6.85
2.96
4.95
3.94
4.85
4.81
6.6
5.33
5.19
4.88
5.75
5.26
3.16
6.65
5.49
4.05
4.42
4.99
4.78
5.57
4.01
5.91
5.34
6.09
5.84
4.19
5.75
6.25
7.23
4.55
6.42
5.25
5.59
3.96
5.93
5.01 6.03
4.69 3.72
Transcribed Image Text:Before After 6.25 6.85 2.96 4.95 3.94 4.85 4.81 6.6 5.33 5.19 4.88 5.75 5.26 3.16 6.65 5.49 4.05 4.42 4.99 4.78 5.57 4.01 5.91 5.34 6.09 5.84 4.19 5.75 6.25 7.23 4.55 6.42 5.25 5.59 3.96 5.93 5.01 6.03 4.69 3.72
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 8 steps with 8 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman