Closed kevpwang closed 2 years ago
@kevpwang, looks good. Two things to follow up on:
summary(plans)
error happening consistently?@christopherkenny Here's the performance plot.
I'm getting the summary(plans)
error for states that are missing some VEST elections data or other (2020 for VA, 2018 & 2020 for KY). Is that just something with how the function's written?
Ah yeah. That makes sense. We have to address that on the redist level.
Thanks for the performance plot -- looks good.
Redistricting requirements
In Virginia, districts must, under Va. Code Ann. § 24.2-304.04:
Interpretation of requirements
We enforce a maximum population deviation of 0.5%.
Data Sources
Data for Virginia comes from the ALARM Project's 2020 Redistricting Data Files.
Pre-processing Notes
No manual pre-processing decisions were necessary.
Simulation Notes
We sample 10,000 districting plans for Virginia across two independent runs of the SMC algorithm, and then thin the sample down to 5,000 plans. To balance county and municipality splits, we create pseudocounties for use in the county constraint, which leads to fewer municipality splits than using a county constraint. Note that Fairfax County must be split due to its large population, although within the county, we avoid splitting any municipality.
Validation
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@christopherkenny