alarm-redist / fifty-states

Redistricting analysis for all 50 U.S. states
https://alarm-redist.github.io/fifty-states/
Other
9 stars 7 forks source link

2010 Massachusetts Congressional Districts #162

Closed Aneetej closed 1 year ago

Aneetej commented 1 year ago

2010 Massachusetts Congressional Districts

Redistricting requirements

In Massachusetts, districts must:

  1. be contiguous
  2. have equal populations
  3. be geographically compact
  4. preserve county and municipality boundaries as much as possible

Algorithmic Constraints

We enforce a maximum population deviation of 0.05%. We use a pseudo-county constraint to help preserve county and municipality boundaries. These counties are Dukes, Middlesex, and Worcester--these three counties have populations larger than 60% of the target population for districts. To preserve municipality splits, each municipality is its own pseudocounty.

Data Sources

Data for Massachusetts comes from the ALARM Project's 2020 Redistricting Data Files.

Pre-processing Notes

No manual pre-processing decisions were necessary.

Simulation Notes

We sample 7,500 districting plans for Massachusetts over two runs. No special techniques were needed to produce the sample.

Validation

MA 2010 Analysis

SMC: 7,000 sampled plans of 9 districts on 2,165 units
`adapt_k_thresh`=0.985 • `seq_alpha`=0.5
`est_label_mult`=1 • `pop_temper`=0

Plan diversity 80% range: 0.7 to 0.9

R-hat values for summary statistics:
   pop_overlap      total_vap       plan_dev      comp_edge    comp_polsby      pop_white      pop_black       pop_hisp       pop_aian      pop_asian 
     1.0019569      1.0060361      1.0051570      1.0063435      1.0027901      1.0191425      1.0054869      1.0013889      1.0026305      1.0297700 
      pop_nhpi      pop_other        pop_two      vap_white      vap_black       vap_hisp       vap_aian      vap_asian       vap_nhpi      vap_other 
     0.9999906      1.0281259      1.0158481      1.0078179      1.0083280      1.0020198      1.0040321      1.0148851      1.0048442      1.0278418 
       vap_two pre_16_dem_cli pre_16_rep_tru pre_20_dem_bid pre_20_rep_tru uss_18_dem_war uss_18_rep_die uss_20_dem_mar uss_20_rep_oco gov_18_rep_bak 
     1.0161448      1.0118460      1.0141748      1.0066600      1.0140936      1.0110774      1.0151628      1.0067000      1.0145590      1.0160401 
gov_18_dem_gon atg_18_dem_hea atg_18_rep_mcm         adv_16         adv_18         adv_20         arv_16         arv_18         arv_20  county_splits 
     1.0119384      1.0098197      1.0146609      1.0118460      1.0114351      1.0067367      1.0141748      1.0159360      1.0143757      1.0158210 
   muni_splits            ndv            nrv        ndshare          e_dvs          e_dem          pbias           egap 
     1.0161969      1.0108484      1.0151332      1.0130056      1.0130334      1.0008851      1.0249832      1.0025164 

Sampling diagnostics for SMC run 1 of 2 (3,500 samples)
         Eff. samples (%) Acc. rate Log wgt. sd  Max. unique Est. k 
Split 1     3,295 (94.2%)     12.0%        0.49 2,200 ( 99%)      8 
Split 2     3,284 (93.8%)     18.1%        0.47 2,158 ( 98%)      5 
Split 3     3,268 (93.4%)     26.0%        0.49 2,145 ( 97%)      3 
Split 4     3,245 (92.7%)     31.9%        0.52 2,164 ( 98%)      2 
Split 5     3,194 (91.3%)     16.7%        0.55 2,172 ( 98%)      4 
Split 6     3,180 (90.8%)     14.7%        0.57 2,130 ( 96%)      4 
Split 7     3,094 (88.4%)     15.4%        0.61 2,037 ( 92%)      3 
Split 8     2,877 (82.2%)      7.6%        0.67 1,832 ( 83%)      2 
Resample      809 (23.1%)       NA%        0.69 2,353 (106%)     NA 

Sampling diagnostics for SMC run 2 of 2 (3,500 samples)
         Eff. samples (%) Acc. rate Log wgt. sd  Max. unique Est. k 
Split 1     3,299 (94.3%)     12.8%        0.48 2,254 (102%)      8 
Split 2     3,258 (93.1%)     18.1%        0.50 2,177 ( 98%)      5 
Split 3     3,270 (93.4%)     20.3%        0.49 2,158 ( 98%)      4 
Split 4     3,218 (91.9%)     23.5%        0.53 2,190 ( 99%)      3 
Split 5     3,134 (89.5%)     29.1%        0.58 2,116 ( 96%)      2 
Split 6     3,153 (90.1%)     11.2%        0.59 2,079 ( 94%)      5 
Split 7     3,081 (88.0%)     15.7%        0.62 2,054 ( 93%)      3 
Split 8     3,174 (90.7%)      7.5%        0.57 1,820 ( 82%)      2 
Resample    2,275 (65.0%)       NA%        0.59 2,642 (119%)     NA

Checklist

@CoryMcCartan

Aneetej commented 1 year ago

@CoryMcCartan is this ready to merge with main now?

CoryMcCartan commented 1 year ago

Yeah one last thing & then I think we're good

Aneetej commented 1 year ago

@CoryMcCartan Alright, I fixed it and I think it should be good to go now.