Partisan Bias CalculationsFunctions to calulate partisan bias measures |
|
---|---|
Calculate Partisan Bias |
|
Calculate Declination |
|
Calculate Simplified Declination |
|
Calculate Dilution Asymmetry |
|
Calculate Democratic Seats |
|
Calculate Democratic Vote Share |
|
Calculate Efficiency Gap |
|
Calculate Efficiency Gap (Equal Population Assumption) |
|
Calculate Lopsided Wins |
|
Calculate Mean Median Score |
|
Calculate Responsiveness |
|
Calculate Ranked Marginal Deviation |
|
Calculate Smoothed Seat Count Deviation |
|
Calculate Tau Gap |
|
Compactness CalculationsFunctions to calculate compactness measures |
|
Calculate Boyce Clark Ratio |
|
Calculate Box Reock Compactness |
|
Calculate Convex Hull Compactness |
|
Calculate Edges Removed Compactness |
|
Calculate Fryer Holden Compactness |
|
Calculate Fraction Kept Compactness |
|
Calculate Log Spanning Tree Compactness |
|
Calculate Length Width Compactness |
|
Calculate Polsby Popper Compactness |
|
Calculate Reock Compactness |
|
Calculate Schwartzberg Compactness |
|
Calculate Skew Compactness |
|
Calculate X Symmetry Compactness |
|
Calculate Y Symmetry Compactness |
|
Prep Polsby Popper Perimeter Tibble |
|
Split CalculationsFunctions to calculate splits |
|
Compute Number of Administrative Units Split |
|
Count the Number of Splits in Each Administrative Unit |
|
Fuzzy Splits by District (Experimental) |
|
Compute Number of Administrative Units Split More than Once |
|
Compute Number of Sub-Administrative Units Split |
|
Count the Number of Splits in Each Sub-Administrative Unit |
|
Count the Total Splits in Each Plan |
|
Competitiveness CalculationsFunctions to calculate competitiveness measures |
|
Compute Talismanic Redistricting Competitiveness Metric |
|
Distance CalculationsFunctions to calculate distances between partitions |
|
Calculate Euclidean Distances |
|
Calculate Hamming Distances |
|
Calculate Variation of Information Distances |
|
Calculate Manhattan Distances |
|
Segregation CalculationsFunctions to calculate segregation measures |
|
Compute Dissimilarity Index |
|
Incumbent CalculationsFunctions to assess incumbent pairings |
|
Count Incumbent Pairings |
|
Example DataData on New Hampshire for Examples |
|
New Hampshire Election and Demographic Data |
|
Redistricting Plans for New Hampshire as |
|
New Hampshire Election and Demographic Data as a |
|
Redistricting Plans for New Hampshire as |
|
Misc.Remaining tools that don’t fit into other categories |
|
Shorten District by Plan vector |
|
Return Functions Matching a Prefix |
|
Tally a Column by District |