In: Statistics and Probability
Chi- squared Goodness of fit
7) An education council says that 22% of undergraduates do not work, 26 % work 1 to 20 hours per week, 18% work 21 to 34 hours per week, and 34% work 35 or more hours per week. You randomly select 120 college students and gather the results shown in the table below. At alpha = 0.01 can you reject the council`s claim.
Response |
|
Did not work |
29 |
Work 1 to 20 hours |
26 |
Work 21 to 34 hours |
25 |
Work 35 or more hours |
40 |
a. State the null and alternative hypothesis |
|
b. Give the p-value |
|
c. Give a conclusion for the claim |
ANSWER::
The p-value computed by using R-code is
F=c(29,26,25,40)
P=c(0.22,0.26,0.18,0.34)
chisq.test(F,p=P)
Chi-squared test for given probabilities
data: F
X-squared = 1.6736, df = 3, p-value = 0.6428
#p-value=0.6428>alpha=0.01 then we fail to reject the null hypothesis Ho
NOTE:: I HOPE THIS ANSWER IS HELPFULL TO YOU......**PLEASE SUPPORT ME WITH YOUR RATING......
**PLEASE GIVE ME "LIKE".....ITS VERY IMPORTANT FOR,ME......PLEASE SUPPORT ME .......THANK YOU