State-space models of poll aggregation

Here’s a really nice case study by Peter Ellis, using Stan to replicate the results of Simon Jackman’s R package implementing his model for poll aggregation:

This is a really great example of how to validate your work in Stan relative to a third-party package and model. Then, once the model is faithfully translated to Stan, tweaking it becomes straightforward.

If you’ve got other links like this, please share!