Applied Political Science for Political Campaigns

# Type S/M errors in R with retrodesign()

This is a online version of the vignette for my r package **retrodesign()**. It can be installed with:

# Why the normal distribution?

When I was first studying probability theory as an undergrad, I had a bit of a conceptual hang-up with the Central Limit Theorem. Simulating it in R gave a nice visual of how each additional random variable smoothed out some of the original distributionâ€™s individuality, and asymptotically we were left with a more generic shape. The proofs were relatively straightforward. One part, however, didnâ€™t really make sense to me. My problem was this: **Of all the many possible distributions, why is the normal distribution in particular that our i.i.d random variables converge to in distribution?**

# Predicting race part 1- Bayes' rule method and extensions

Race is a defining part of political identity in the United States, and so it should be no surprise that accurately modeling race can be beneficial for many political campaign activities. For instance, many organizations work to improve turnout in specific communities of color, or want to target persuasion on a given issue to certain racial group. Alternatively, race and ethnicity might be desired as an input to a larger voting or support likelihood model, given that race is generally predictive of both voting likelihood and candidate support.

Continue reading