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 randomess 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.

Flash and JavaScript are required for this feature.