There is a statistics bonus problem I had on an exam, and I got it wrong. It is as follows:
There is a county in which 100, 000 people vote in an election. There are only two candidates on the ballot: A and B. In this county, 70, 000 people go to the polls with the intention of voting for A, and the remaining 30, 000 go to the polls with the intention of voting for B. However, the layout of the ballot is a little confusing, so each voter, with probability 1/100, votes for the candidate that they did not intend to vote for. (These mistakes may be correlated: they are not necessarily independent.) Let X be the random variable equal to the number of votes received by candidate A, when the voting is conducted with such a process of error. Determine the expected value of X with a complete proof.
How do I approach a problem like this? What I did was simply subtract the number that would vote incorrectly from group A and add the number that would vote incorrectly from group B to A, but this was wrong. How does the correlation and not necessarily being independent factor into solving the question?