A political poll based on a random sample of 1000 likely voters classified them by sex and asked them if they planned to vote for Candidate A or Candidate B in the upcoming election. Results are shown in the accompanying table.
a. State the null and alternative hypotheses in this situation.
b. Calculate the expected counts.
c. Explain in words the rationale for the expected counts in the context of this example.
d. Calculate the value of the chi-square statistic
e. Make a conclusion using a level of 0.05. State the conclusion in the context of this situation.