Estimating State Public Opinion with Multi-level Regression and Poststratification using R (with Jeffrey Lax and Justin Phillips)

Abstract: This paper provides a primer for estimating public opinion at the state level using the technique of Multilevel Regression and Postratification (MRP). We provide sample R code for creating estimates and give step-by-step instructions on setting up the data, running models, and collecting estimates.

Click here to download a pdf copy of the paper.

The R script for creating the estimates is available here.

You will need three datasets to run the code