POLS 4728
Shapley values for credit assignment
A SCROLLING EXPLAINER / MAJORITY RULE
Those who vote yes form the coalition.
In the order B → A → C, A supplies the deciding vote. A different order can give another voter the credit.
Average across all six equally weighted orders. A’s four joining edges appear in 2, 1, 1, and 2 orders.
Multiply each contribution by its fraction of orders, then add. A receives one-third of the total credit.
In this Hasse diagram, each arrow adds one voter to a coalition. All three voters receive one-third of the total credit.
Write a coalition’s value as , where counts its voters. This rule assigns one to passing groups and zero otherwise.
1 means passes. 0 means fails. The proposal always needs two votes.
The Shapley value averages player ’s contribution. Sum over every coalition that excludes : one term for each joining edge.
The bracket is the change when A joins .
Hold fixed. Its members can arrive before A in orders.
After and A arrive, voters remain. Their factorial counts the possible orders after A.
Multiply the before and after counts, then divide by all orders. The result is the fraction using this joining edge.
A’s Shapley value is one-third.
Return to the interactive diagram to follow another voter and compare the allocation.

The players are the 50 states and DC, using the electoral votes allocated for 2024 and 2028: 538 in total, with 270 needed to win. State has electoral votes.
Treat each state as one bloc, including Maine and Nebraska, which can split their votes in actual elections.
The example compares a 250-vote coalition with and without California: adding its 54 votes raises the total to 304, crossing 270. California’s marginal contribution to this coalition is 1. This does not make it the only critical member of the winning coalition: removing Texas’s 40 votes would also bring the total below 270.
The Shapley value averages a state’s marginal contribution over all joining orders with equal weight. These are imagined accounting orders, not the chronology of an election. Each complete order has one pivotal state: the state whose addition first reaches 270. A state’s fraction of pivotal orders is its Shapley–Shubik power index.
Allocation: National Archives.
California has 54 electoral votes; Wyoming has 3. Geographic size need not match electoral weight.
State boundaries use an Albers USA map, with Alaska and Hawaii in insets. Every state and DC keeps its identity through both transformations. The numbers are electoral votes, not election results.
The next two maps hold total state area fixed while changing each state’s share of that area.
Boundary data: Census-derived US Atlas. Electoral votes: National Archives.
Each square represents one electoral vote: 54 for California and 3 for Wyoming, out of 538.
The map replaces geographic area with 538 equal squares: one for each electoral vote. A 30-vote state occupies 30 squares and a three-vote state occupies three. Squares group into labelled state blocs, arranged to resemble a US map.
The final transformation keeps the same square size, using Shapley power to calculate adjusted electoral votes.
California: 54 → 58.1 (+7.6%)Wyoming: 3 → 2.9 (−3.1%)
California is decisive in a larger share of joining orders than its share of electoral votes; Wyoming is decisive in a smaller share.
Express pivotal power on the same 538-vote scale: adjusted votes equal 538 times a state’s Shapley value—its fraction of pivotal joining orders. Equivalently, multiply its electoral votes by its power-to-vote-share ratio. Both cartograms use the same area per vote.
The squares keep their size. Whole squares represent whole adjusted votes; a fractional boundary square represents the remainder. California’s 54 squares become about 58.1 square units, adding four whole squares and part of another. Texas’s 40 become about 41.7; Wyoming’s three become about 2.91. The total remains 538 adjusted votes.
Dashed outlines retain California’s and Wyoming’s electoral-vote areas. The displayed area changes use their actual proportions.
California has 10.04% of the electoral votes but 10.80% of the pivotal credit. Texas’s premium is about 4.1%.
A larger bloc can cross 270 from a wider range of losing totals. In this allocation, California, Texas, Florida, and New York are decisive in a larger share of joining orders than their electoral-vote shares. California therefore gains area on the adjusted map. Wyoming’s share of decisive orders is below its electoral-vote share, so its area shrinks. Each three-vote state and DC has about 3.1% less power than its vote share.
The advantage for large states is relative to their electoral-vote shares, not their populations. It does not mean that an individual voter in a large state has more power than a voter in a small state.
For each state, count coalitions of the other 50 blocs by their number of members and their electoral vote total. A coalition makes the state pivotal when its total is below 270 but adding the state reaches 270.
Weight each count by the arrangements before and after the state, exactly as in the Shapley formula. Dynamic programming evaluates this sum with exact integer counts; it requires neither simulation nor a list of all 51! orders. Displayed decimals are rounded.
Allocations: National Archives. Historical Electoral College analyses: Mann and Shapley (1960, Monte Carlo); Mann and Shapley (1962, exact).