n = 1000
p = sample proportion of rice eaters
p= 540/1000
P = population proportion of rice eaters
P= 1/2 = 0.5
Q =1-P=1-0.5=0.5
Null hypothesis
Both rice and wheat eaters are equally popular in the state
H0 : P=0.5
Alternative hypothesis H1: P "\\not =" 0.5
(two tailed test)
z=(p-P)/ "\\sqrt{\\frac{P*Q}{n}}" =(0.54-0.5)/"\\sqrt{\\frac{0.5*0.5}{1000}}" =2.53
The calculated value of z=2.53.
The tabulated value of z at 1% level of significance for two-tailed test is 2.58.
Since calculated z< tabulated z, we accept the Null Hypothesis H0 at 1% level of significance and conclude that both rice and wheat are equally popular in the district
Comments
P=1/2 is the population proportion because we assumed that both rice and wheat are equally popular in the district according to conditions of the question.
How P is 1/2
Leave a comment