Answer: a) -0.2252, b) 0.8219
Step-by-step explanation:
Since we have given that
Sample size n = 100
Probability that candies are blue = p= 0.26
Probability that company claims that it is blue candy = P = 0.27
So, Q = 1-P= 1-0.27 = 0.73
So, Null hypothesis : [tex]H_0:p=P[/tex]
Alternate hypothesis : [tex]H_1:p\neq P[/tex]
So, the test statistic would be
[tex]z=\dfrac{p-P}{\sqrt{\dfrac{P.Q}{n}}}\\\\z=\dfrac{0.26-0.27}{\sqrt{\dfrac{0.27\times 0.73}{100}}}\\\\z=-0.2252[/tex]
Since α = 0.05
So, critical value of z = 1.96
p-value = P(Z>Z(calculated)
Using the excel function , we get that
[tex]P(z>0.2252)\\\\=2\times 0.410.911845\\\\=0.8219[/tex]
Hence, a) -0.2252, b) 0.8219