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.

Course Info

Learning Resource Types

theaters Lecture Videos
notes Lecture Notes
assignment_turned_in Problem Sets with Solutions