Seats/votes asymmetry Packing/cracking asymmetry Voting power asymmetry

Online Gerrymander calculator (Voting power asymmetry)

Enter the by district vote counts below and hit submit to calculate the amount and direction of gerrymandering.

To see how the numbers are calculated click: view source.

For an explanation of how these measures are calculated, see this document.

ScoreDemocratsRepublicansDifferenceSum
speech per voter

Enter district votes (one line per district):
Election 1
Democratic votes Republican votes
Election 2
Democratic votes Republican votes
Election 3
Democratic votes Republican votes

"; $s = -$p * log($p); $l = - log($p); //accumulate everything $dp += $p*$avgd; $rp += $p*$avgr; $ds += $s*$avgd; $rs += $s*$avgr; $dl += $l*$avgd; $rl += $l*$avgr; $sumd += $avgd; $sumr += $avgr; ?>
DistrictDemocratsRepublicansmusigmap(dem)p(tie)p(rep)


0 = blue, 0 = gray, < 0 = rep echo ""; $color = "purple"; if( $diff > 0) { $color = "blue"; } if( $diff < 0) { $color = "red"; } echo ""; echo ""; } ?>
# Dem seats# Rep seatsProbability
".$i."".(($count)-$i)."".$histogram[$i]."
Expectation:
Dem seats
Rep seats


$dp , "rep_p" => $rp, //power (avg likelihood to affect outcome) "dem_l" => $dl , "rep_l" => $rl, //power (avg log likelihood to affect outcome) "dem_s" => $ds , "rep_s" => $rs, //speech ); } include 'footer.php'; ?>