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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!