177k views
2 votes
You're interested in determining whether people prefer orange or pink food. You make a large batch of vanilla pudding and dye one half orange and the other half pink. You randomly select students to participate in a taste test, and you randomize which pudding people try first. Out of 132 subjects, 72 prefer the orange pudding. You use the hypotheses H subscript 0 : p equals.5, H subscript a : p not equal to.5. What's the P-value of the test statistic?

1 Answer

3 votes

Answer:

p value = 0.295792

Explanation:

Given that you 're interested in determining whether people prefer orange or pink food. You make a large batch of vanilla pudding and dye one half orange and the other half pink. You randomly select students to participate in a taste test, and you randomize which pudding people try first. Out of 132 subjects, 72 prefer the orange pudding.


H_0: p=0.5\\H_a: p \\eq 0.50

(two tailed test)

Sample proportion p =
(72)/(132) \\=0.5455

Std error of p =
\sqrt{(pq)/(n) } \\=\sqrt{(0.5*0.5)/(132) } \\=0.0435

p diference = 0.0455

Test statistic Z = p difference/std error = 1.0455

p value = 0.295792

User Lukas Forst
by
6.8k points