Safari File Edit View History ?, 45%.) Thu 7:30 PM Stat 119 Spring 2018: section
ID: 3054632 • Letter: S
Question
Safari File Edit View History ?, 45%.) Thu 7:30 PM Stat 119 Spring 2018: section 7 Homework: HWK#9 Score: 0 of 1 pt 10. 1.27-T Hw Score: 0%, 0 of 14 pts Aardy a nary dini thì r alarge bage 50 you eat, 31 are red. Opien) d hel ayady hat the ar des·" red and half the (andes are geen. You pick andes at random from a bag ard dscover that of the fist e a) it it were true that half are red and hailf are green, what is the probability you would have found that at least 31 out of 50 were red? b)Doyou think tat half ofthe candies in the bag are really red? Expan. a) The probabity is (Round to three decimal places as needed.) AnswerExplanation / Answer
a)
Let P be the proportion of red candies in the bag.
H0: P = 0.5
Ha : P > 0.5
Test statistics:
p = 31/50 = 0.62
z = ( p - P) / sqrt(P * (1-P)/n)
z = ( 0.62 - 0.5 ) / sqrt( 0.5 * ( 1-0.5) / 50)
= 1.6971
P(at least 31 were red) = P( z > 1.6971) = 0.0448 by using standardnormal probability table
b)
Assume 5% level of significance = 0.05
Since p value < 0.05, reject the null hypothesis. That is not half of the candies in the bag are really red
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.