Yet another elections simulator

After reading Wasserman’s 2012 blog post about mixture models, I’m glad that I’ve finally figured out & implemented the Gelman-King 1994 electoral model as well. Based on pretty straghtforward regression modeling, the setup trades the representational simplicity of the Linzer GMM model for a much more complex modeling structure, but that I guess provides better guarantees about its own properties. 

Regardless, it’s a bummer that these guys stuff, the Linzer 2012 paper on simulating seats/votes curves using gaussian mixtures & the JudgeIt stuff for the GK1994 paper was never merged into the political science computational library. Eventually, I think this kind of stuff either falls into disrepair, since there’s incredibly low incentive for academics to maintain research software

While I think that keeping everything small minimizes the maintenance burden of any individual package, I’m hoping that new stuff like and pervasive FOSS CI might get leveraged for academic projects to make sure that when stuff falls into disrepair, it’s clearly labeled as such. I was so bummed when JudgeIt got dropped from CRAN, but my patch suggestion wasn’t ever (as far as I can tell) publically merged :(

imported from: yetanothergeographer