Answer: 0.022
Step-by-step explanation:
Let p be the population proportion of horses were fed mostly alfalfa.
We are given that :
[tex]H_0: p=0.67\\ H_a:p>0.67[/tex] , since alternative hypothesis ([tex]H_a[/tex]) is right tailed , so the test is a right-tailed test.
Also, we have
Sample size= 62
Sample proportion= [tex]\hat{p}=\dfrac{49}{62}\approx0.79[/tex]
Test statistic for population proportion:-
[tex]z=\dfrac{\hat{p}-p}{\sqrt{\dfrac{p(1-p)}{n}}}[/tex]
Substitute all values ,
[tex]z=\dfrac{0.79-0.67}{\sqrt{\dfrac{0.67(1-0.67)}{62}}}\\\\=\dfrac{0.12}{\sqrt{0.00356612903226}}\\\\=\dfrac{0.12}{0.059717}\\\\=2.00947551836\approx2.01[/tex]
P-value for right tailed test :
P(z>2.01)=1-P(z<2.01) [∵P(Z>z=1-P(Z<z))]
=1-0.9777844 [By using z-value table]
=0.0222156≈0.022
Hence, the P-value for this test is 0.022 .