[X] All TODO lines from the template code have been removed
[X] I have merged in the master branch and then recalculated summary statistics
[X] I have run enforce_style() to format my code
[X] The documentation copied above is up-to-date
[X] There are no data files in this pull request
[X] None of the file output paths (for the redist_map and redist_plans objects, and summary statistics) have been edited
@CoryMcCartan (note that the SMC does not converge for comp_polsby and comp_edge, but I'm at the limit of my computing power to keep pushing the number of sims up)
Redistricting requirements
In New York, districts must, per judicial order:
When developing the 2010 map, the courts decided to assign zero weight to incumbent protection and minimal weight to core preservation.
Algorithmic Constraints
We enforce a maximum population deviation of 0.5%.
Data Sources
Data for New York comes from the ALARM Project's 2010 Redistricting Data Files.
Pre-processing Notes
We use a county constraint to preserve district cores, since districts are generally structured around counties.
Simulation Notes
We sample 60,000 districting plans for New York over two runs of the SMC algorithm and thin the sample down to 5,000 plans.
No special techniques were needed to produce the sample.
Validation (60,000 plans)
Validation (5,000 thinned plans)
Checklist
TODO
lines from the template code have been removedenforce_style()
to format my coderedist_map
andredist_plans
objects, and summary statistics) have been edited@CoryMcCartan (note that the SMC does not converge for comp_polsby and comp_edge, but I'm at the limit of my computing power to keep pushing the number of sims up)