Question
Hypothesis testing is done based on 2 samples, one with average number of crashes under bad weather conditions and good weather conditions. The Null Hypothesis
Hypothesis testing is done based on 2 samples, one with average number of crashes under bad weather conditions and good weather conditions. The Null Hypothesis is taken that the difference between the average number of injuries during bad weather ((1 ) and good weather condition(2) is 0. The weather conditions like cloudy, fogy, rainy, snowy, and windy are considered as bad weather.
Null Hypothesis: H0 : 1- 2 = 0
The Alternate hypothesis is taken as the average number of injuries during bad weather ((1 ) and good weather condition(2) is not the same.
Alternate Hypothesis (test statistic): HA : 1- 2 not equal to 0
Please help me with R code for hypothesis testing mentioned above.
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