Balance local results with statewide representation.
District elections represent local voters and assemble a statewide delegation. What should the rule do when those goals conflict?
North Carolina, 2018
Choose an election and see how the delegation changes
Select a state and year, move the weight, then compare allocation rules.
What the model predicts
The same votes and model settings determine the map, seat total, and diagnostics.Model-predicted seat allocation
Move the statewide-weight slider to see when the predicted delegation changes.
Loading scenario
District assignments will appear after the election loads.
Tap a district for its vote share, local winner, and model result.
Choose a district to see its details.
Move the statewide weight to update the model prediction.
Compare allocations
Switch the allocation rule while holding the same district votes fixed.
The map shows the model allocation.
Election diagnostics
Compare seat allocations
District-plurality winners, the model optimum at the selected weight, and the closest statewide-target allocation.
Why the model chooses this allocation
Compare the possible seat totals and see when the optimum changes.Model loss by possible Democratic seat count
The selected prediction minimizes total misrepresentation.
Weights at which the optimum changes
Model assignments by district
See the calculation
The formulas below show how the model combines district and statewide loss.Objective function and calculation for the selected allocation
The analysis starts with the outcome above. This section shows the exact notation, component values, and robustness weights behind it.
Objective components at the current weight
- District loss Dist
- 0.000
- Statewide loss State
- 0.000
- Minimum objective value
- 0.000
Weight ranges and switch points
- Paper support ρ/N
- 0.0%
- Source support
- 0.0%
- First switch from FPTP
- w = 0.000
- Proportionality seat switch
- w = 0.000
Show the calculation line by line
At an exact objective tie, the map shows the smallest Democratic seat count. Every tied seat total remains a valid model optimum.
Choose the aggregation rule, statewide target, statewide penalty, and district loss
Party A is Democratic; all quantities use seat units. Each listed option satisfies the model checks. Custom formulas are checked before they are applied.
Current specification
See the model's geometry
Each figure uses the selected election and specification. Use a horizontal weight control, or choose a point in a figure, to update the allocation above.
Pareto frontier and feasible allocations
Every allocation is shown through 18 seats; larger delegations use a fixed 32,768-allocation sample. Red circles retain the exact lowest district loss at each seat total; green marks are Pareto-efficient.
- Allocations
- 0
- Pareto seat totals
- 0
- Shown on map
- 0 D / 0 R
Interactive plot of district loss against statewide loss. It shows every feasible allocation through 18 seats and a fixed deterministic sample for larger delegations, with exact top-seat and Pareto-efficient allocations emphasized.
Scroll horizontally to inspect the full chart.
The optimal threshold rule
The vote-share cutoff is solved at every weight. For nonlinear choices, the adjacent-allocation indifference point is computed directly and capped only when an observed district boundary is needed to implement the optimum.
Interactive line chart of the model's optimal district vote-share threshold as a function of statewide weight.
Scroll horizontally to inspect the full chart.
Optimal seat total as statewide weight changes
The step path records every model-optimal delegation and every switching weight under the active specification.
Interactive step chart of the model-optimal Democratic seat total as a function of statewide weight, including switching weights and target references.
Scroll horizontally to inspect the full chart.
Iso-misrepresentation curves select the optimum
An iso-misrepresentation curve joins district- and statewide-loss combinations with the same total M at the current weight. The lowest contour that reaches the Pareto frontier identifies an optimum.
- Current optimum
- 0 D / 0 R
- Objective M
- 0
- Comparison
- None
Interactive plot with district loss on the horizontal axis and statewide loss on the vertical axis. Each iso-misrepresentation contour joins loss pairs with the same total M at the selected weight. Moving toward the lower left cannot increase M. Pareto-efficient top-seat allocations form the frontier; an optimum lies on the lowest attained contour, and muted dominated points are no better on either loss and strictly worse on at least one. Changing the statewide weight redraws the contours and may change the optimal seat total.
Scroll horizontally to inspect the full chart.
How to read it. Moving toward the lower left cannot increase M. Changing the weight reshapes the contours and can change the optimal seat total. Muted points are dominated: another top-seat allocation is no worse on either loss and better on at least one.
statewide representation.