2008 US presidential election outcomes by state.

pres08

Format

A data frame with 51 rows and 5 variables:

state.name

character: unabbreviated name of the state

state

character: abbreviated name of the state

Obama

integer: Obama’s vote share (percentage)

McCain

integer: McCain’s vote share (percentage)

EV

integer: number of Electoral College votes for the state

Details

See QSS Table 4.1.

References

  • Imai, Kosuke. 2017. Quantitative Social Science: An Introduction. Princeton University Press. URL.

  • David Rothschild (2009) “Forecasting elections: Comparing prediction markets, polls, and their biases.” Public Opinion Quarterly, vol. 73, no. 5, pp. 895–916. doi = 10.1093/poq/nfp082