
"The first principle of republicanism is that the lex majoris partis is the fundamental law of every society of individuals of equal rights."
— Thomas Jefferson
"[Bear] always in mind that a nation ceases to be republican only when the will of the majority ceases to be the law."
— Thomas Jefferson
This corporeal globe, and everything upon it, belong to its present corporeal inhabitants during their generation. They alone have a right to direct what is the concern of themselves alone, and to declare the law of that direction; and this declaration can only be made by their majority. That majority, then, has a right to depute representatives to a convention, and to make the constitution what they think will be the best for themselves."
— Thomas Jefferson














Source: American Association of Public Opinion Research

Source: Pew Research Center

Source: Pew Research Center

Source: Webster & Abramowitz 2017
*Polls can also go wrong if they have bad question wording, a fourth type of survey error called "measurement error"

Source: Pew Research Center

Race, age, gender, and region are most common
Can use weighting (raking) modeling (MRP), w various tradeoffs















mu_b[:,T] = cholesky_ss_cov_mu_b_T * raw_mu_b_T + mu_b_prior; for (i in 1:(T-1)) mu_b[:, T - i] = cholesky_ss_cov_mu_b_walk * raw_mu_b[:, T - i] + mu_b[:, T + 1 - i];national_mu_b_average = transpose(mu_b) * state_weights;mu_c = raw_mu_c * sigma_c;mu_m = raw_mu_m * sigma_m;mu_pop = raw_mu_pop * sigma_pop;e_bias[1] = raw_e_bias[1] * sigma_e_bias;sigma_rho = sqrt(1-square(rho_e_bias)) * sigma_e_bias;for (t in 2:T) e_bias[t] = mu_e_bias + rho_e_bias * (e_bias[t - 1] - mu_e_bias) + raw_e_bias[t] * sigma_rho;//*** fill pi_democratfor (i in 1:N_state_polls){ logit_pi_democrat_state[i] = mu_b[state[i], day_state[i]] + mu_c[poll_state[i]] + mu_m[poll_mode_state[i]] + mu_pop[poll_pop_state[i]] + unadjusted_state[i] * e_bias[day_state[i]] + raw_measure_noise_state[i] * sigma_measure_noise_state + polling_bias[state[i]];}











Website: gelliottmorris.com
Twitter: @gelliottmorris
These slides were made using the xaringan package for R. They are available online at https://www.gelliottmorris.com/slides/

Keyboard shortcuts
| ↑, ←, Pg Up, k | Go to previous slide |
| ↓, →, Pg Dn, Space, j | Go to next slide |
| Home | Go to first slide |
| End | Go to last slide |
| Number + Return | Go to specific slide |
| b / m / f | Toggle blackout / mirrored / fullscreen mode |
| c | Clone slideshow |
| p | Toggle presenter mode |
| t | Restart the presentation timer |
| ?, h | Toggle this help |
| Esc | Back to slideshow |