In: Statistics and Probability
Please Use R studio to answer the question. This is the Statistics section of Comparing Groups.
One month before the election, a poll of 630 randomly selected votes showed 54% planning to vote for a certain candidate. A week later, it became known that he had had an extramarital affair, and a new poll showed only 51% of 1010 voters supporting him. Do these results indicate a decrease in voter support fo his candidacy?
a) Test an appropriate hypothesis as state your conclusion.
b) If you concluded there was a difference, estimate that difference with a confidence interval and interpret your interval in context.
Let denote the proportion voters supporting him before and after respectively.
a)
There is not sufficient evidence to support the claim that there is a decrease in voter support fo his candidacy.
b)
With 95% confidence, it can be concluded that true difference in proportions will lie between (-0.012, 0.072) .