15.071 | Spring 2017 | Graduate

The Analytics Edge

3.4 Election Forecasting: Predicting the Winner Before any Votes are Cast (Recitation)

3.4 Election Forecasting: Predicting the Winner Before any Votes are Cast (Recitation)

Video 2: Dealing with Missing Data

In this recitation, we will be using the dataset PollingData (CSV). Please download this dataset to your computer, and save it in a location that you can easily navigate to in R. This data comes from RealClearPolitics.com.

An R script file with all of the commands used in this lecture can be downloaded here: Unit3_Recitation (R).

Important Note: On some operating systems, the imputed results will be slightly different even if you set the random seed. This is just due to the randomness involved in the multiple imputation process. We’ve provided the imputed data here: PollingData_Imputed (CSV). If your results are not matching after the imputation, you can use this dataset instead.

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • Chapters
    • descriptions off, selected
    • captions and subtitles off, selected

      Course Info

      As Taught In
      Spring 2017
      Level
      Learning Resource Types
      Lecture Videos
      Lecture Notes
      Problem Sets with Solutions