Answer to Question #175411 in Statistics and Probability for Anuj

Question #175411

Two sample of votes for two candidates A and B for a public officer are taken one from among the residents of rural areas the results are given in the adjoining table examine whether the nature of the area is related to voting preference in this election


1
Expert's answer
2021-03-29T07:21:10-0400



H0:H_0: the nature of the area is not related to voting preference in this election.

H1:H_1: the nature of the area is related to voting preference in this election.

Sample size n=100.n=100.

α=0.05\alpha=0.05

We will use χ2\chi^2 test.

We have the contingency table 2×22\times 2 with the observed values.

We calculate the expected values:

Expected value (A, Rural)=5639100=21.84=56\cdot\frac{39}{100}=21.84.

Expected value (A, Urban)=5661100=34.16=56\cdot\frac{61}{100}=34.16.

Expected value (B, Rural)=4439100=17.16.=44\cdot\frac{39}{100}=17.16.

Expected value (B, Urban)=4461100=26.84.=44\cdot\frac{61}{100}=26.84.

χobs2=(OiEi)2Ei0.58\chi^2_{obs}=\sum\frac{(O_i-E_i)^2}{E_i}\approx 0.58.

Using CHISQ.DIST.RT (χobs2;df\chi^2_{obs};df) in Excel we find pvalue0.45.p-value\approx 0.45.

df=(21)(21)=1.df=(2-1)(2-1)=1.

pvalue>α.p-value>\alpha. So we accept H0:H_0: the nature of the area is not related to voting preference in this election.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment