How can I determine if two things are statistically correlated?
I am writing a research paper and trying to determine if the way that a Congressional district voted for president in 2008 (for Obama or McCain) is correlated to how the Democratic incumbent did in their 2010 Congressional race. Those are the two variables.
My hypothesis is that districts that voted for McCain in 2008 did not re-elect their Democratic member of Congress in 2010.
How do I test this statistically? My professor said I could do a Chi square but I’m not sure how to go about doing that.
This question is in the General Section. Responses must be helpful and on-topic.