
Partisan symmetry, swing, competitiveness and disproportionality
Source:R/ElectoralGeography.R
PartisanGerrymanderMeasures.RdPartisanGerrymanderMeasures: efficiency gap (Stephanopoulos and
McGhee 2015; winners waste votes above half the district total),
mean-median difference (McDonald and Best 2015) and uniform-swing partisan
bias. ElectoralSwing: Butler and Steed swing.
DistrictCompetitiveness: two-party margins and districts within
threshold of a tie. Disproportionality: Loosemore-Hanby,
Gallagher least squares and Laakso-Taagepera effective numbers of
parties. Malapportionment: Samuels and Snyder (2001) MAL.
Identical to the Python arm morie.fn.electgeo.
Usage
PartisanGerrymanderMeasures(votes_a, votes_b)
ElectoralSwing(prev_a, prev_b, cur_a, cur_b)
DistrictCompetitiveness(votes_a, votes_b, threshold = 0.05)
Disproportionality(votes, seats)
Malapportionment(seats, population)References
Stephanopoulos, N. O. and McGhee, E. M. (2015). Partisan gerrymandering and the efficiency gap. University of Chicago Law Review 82, 831-900.
Gallagher, M. (1991). Proportionality, disproportionality and electoral systems. Electoral Studies 10, 33-51.
Samuels, D. and Snyder, R. (2001). The value of a vote: malapportionment in comparative perspective. British Journal of Political Science 31, 651-671.