Closed mzwu closed 2 years ago
Percentage of Democratic seats by BVAP rank:
bvap_rank dem
<dbl> <dbl>
1 1 0
2 2 0.0032
3 3 0.0982
4 4 0.152
5 5 0.231
6 6 0.308
7 7 0.349
8 8 0.409
9 9 0.688
10 10 0.746
11 11 0.749
12 12 0.692
13 13 0.910
14 14 0.986
Total Black performant districts:
n_black_perf n
1 0 104
2 1 973
3 2 3438
4 3 482
5 4 3
So, 2.08% of the plans have no Democratic 30%+ BVAP districts.
I was looking at your previous version of 2020 NC (#46) and the BVAP boxplots seem fairly similar, except there's more variaition.
Some notes:
nsims
? Otherwise I'll pass on to @christopherkenny
In that case, I was able to increase the strengths of the hinge constraints with the sims reaching convergence. Now, when the plans are thinned, there are no plans that have 0 performant districts. I just updated the original PR comment with the new validation plots and performance plot.
Here are the extra stats - Percentage of Democratic seats by BVAP rank:
bvap_rank dem
<dbl> <dbl>
1 1 0
2 2 0.0026
3 3 0.0794
4 4 0.198
5 5 0.238
6 6 0.264
7 7 0.250
8 8 0.385
9 9 0.602
10 10 0.788
11 11 0.822
12 12 0.801
13 13 0.990
14 14 1
Total Black performant districts:
n_black_perf n
1 1 172
2 2 3879
3 3 939
4 4 10
Also, the effective sample sizes are not crazy high anymore. @kuriwaki @christopherkenny
Great that there's no need for subsetting. Looks good to me.
Sorry for the delay. Yeah, this looks good now. Thanks @mzwu
Redistricting requirements
In North Carolina, under North Carolina State Constitution Article II Sections 3 & 5, districts must:
Interpretation of requirements
We enforce a maximum population deviation of 0.5%. We add a hinge Gibbs constraint targeting the same number of majority-minority districts as the enacted plan. We also apply a hinge Gibbs constraint to discourage packing of minority voters.
Data Sources
Data for North Carolina comes from the ALARM Project's 2020 Redistricting Data Files. Data for the 2022 North Carolina ratified congressional map comes from the North Carolina General Assembly.
Pre-processing Notes
No manual pre-processing decisions were necessary.
Simulation Notes
We sample 20,000 districting plans for North Carolina across two independent runs of the SMC algorithm, and then thin the sample to down to 5,000 plans.
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 editedAdditional Notes
Performance plot for BVAP.![image](https://user-images.githubusercontent.com/55368740/175795663-d4e76a9e-280f-436f-8c9f-f72d08202c7c.png)
@kuriwaki @christopherkenny