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?

Respuesta :

Answer:

p value = 0.295792

Step-by-step 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.

[tex]H_0: p=0.5\\H_a: p \neq 0.50[/tex]

(two tailed test)

Sample proportion p = [tex]\frac{72}{132} \\=0.5455[/tex]

Std error of p = [tex]\sqrt{\frac{pq}{n} } \\=\sqrt{\frac{0.5*0.5}{132} } \\=0.0435[/tex]

p diference = 0.0455

Test statistic Z = p difference/std error = 1.0455

p value = 0.295792