**All three of these are meant to be done in R** 1. There were 59 accidents duri
ID: 3224189 • Letter: #
Question
**All three of these are meant to be done in R**
1. There were 59 accidents during the weekends among 114 bicycle accidents. A researcher tested if the population proportion of bicycle accidents during the weekends is less than .60 . Report the p-value with continuity correction.
2. (dataset: HairEyeColor) Determine the proportion of male who has brown hair and green eye.
3. (dataset: HairEyeColor) Report the p-value to test if female is more than half in the group.
Even if you can't answer all three I would appreciate any help. Thanks!
Explanation / Answer
Solution1:
null hypothesis:
Ho:p=0.6
Alternative Hypothesis:
Ha:p<0.60
code:
prop.test(59, 114, p=.6, alt="less", correct=true)
output:
1-sample proportions test with continuity correction
data: 59 out of 114, null probability 0.6
X-squared = 2.8951, df = 1, p-value = 0.04442
alternative hypothesis: true p is less than 0.6
95 percent confidence interval:
0.0000000 0.5974791
sample estimates:
p
0.5175439
p>0.05
Fail to reject null hypothesis
Accept null hypothesis
Conclusion:
There is no sufficient evidence at 5% level of significance to support the claim that
he population proportion of bicycle accidents during the weekends is less than .60
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.