Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this analysis, we need to know the margin of victory for either McCain or Obama for each state and the District of Columbia. We'll
For this analysis, we need to know the margin of victory for either McCain or Obama for each state and the District of Columbia. We'll use this variable to analyze how a district is going to vote vs how they actually voted. The `obama` and `mccain` variables within each dataset shows either the predicted support (polls08) or the vote percentage for that candidate (pres08). **For each dataset, create the variable `margin`, which represents Obama's vote margin over McCain in percentage points.**
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started