Counting single transferable votes explained

The single transferable vote (STV) is a semi-proportional representation system that elects multiple winners. It is one of several ways of choosing winners from ballots that rank candidates by preference. Under STV, an elector's vote is initially allocated to their first-ranked candidate. Candidates are elected (winners) if their vote tally reaches quota. After the winners in the first count are determined, if seats are still open, surplus votes — those in excess of an electoral quota— are transferred from winners to the remaining candidates (hopefuls) according to the surplus ballots' next usable back-up preference.

The system attempts to ensure political parties are represented proportionally without official party lists by having each winner elected with the same or about the same number of votes. There are several variants of the Single Transferable Vote, each having substantially different properties.

Voting

When using an STV ballot, the voter ranks candidates on the ballot. For example:

Andrea2
Carter1
Brad4
Delilah3
Sam

Some, but not all single transferable vote systems require a preference to be expressed for every candidate, or for the voter to express at least a minimum number of preferences. Others allow a voter just to mark one preference if that is the voter's desire.

The vote will be used to elect just one candidate at the most, in the end.

Quota

See main article: Electoral quota. The quota (sometimes called the threshold) is the number of votes that guarantees election of a candidate. Some candidates may be elected without reaching the quota, but any candidate who receives quota is elected.

The Hare quota and the Droop quota are the common types of quota.

The quota is typically set based on the number of valid votes cast, and even if the number of votes in play decreases through the vote count process, the quota remains as set through the process.

Meek's counting method recomputes the quota on each iteration of the count, as described below.

Hare quota

See main article: Hare quota.

When Thomas Hare originally conceived his version of single transferable vote, he envisioned using the quota:

The Hare quota is mathematically simple.

The Hare quota's large size means that elected members have fewer surplus votes and thus other candidates do not get benefit from vote transfers that they would in other systems. Some candidates may be eliminated in the process who may not have been eliminated under systems that transfer more surplus votes. Their elimination may cause a degree of dis-proportionality that would be less likely with a lower quota, such as the Droop quota.

Droop quota

See main article: Droop quota.

The most common quota formula is the Droop quota, which is a number larger than this amount:

Droop quota is a smaller number of votes than Hare.

Because of this difference, under Droop it is more likely that every winner meets the quota rather than being elected as the last remaining candidate after lower candidates are eliminated. But in real-life elections, if it is allowed for valid ballots to not bear full rankings, it is common even under Droop for one or two candidates to be elected with partial quota at the end, as the field of candidates is thinned to the number of remaining open seats and as the valid votes still in play become scarcer.

The use of Droop leaves a full quota's worth of votes held by unsuccessful candidates, which are effectively ignored. Unlike a system using the Hare quota and mandatory full marking of the ballot, with optional marking and Droop quota, a certain percentage of ballots are not used to elect anyone. As a result, it is said by some that the Droop quota tends to be strongly disproportional (and is in fact the most-biased quota possible).

However, most STV systems used in the world use Droop as many say it is more fair to large parties than Hare.[1] Under Droop, a group consisting of at least half of all voters is guaranteed to win control of at least half of all seats, which is not always the case using the Hare quota.[2]

Counting rules

Until all seats have been filled, votes are successively transferred to one or more "hopeful" candidates (those who are not yet elected or eliminated) from two sources:

(In either case, some votes may be non-transferable as they bear no marked back-up preferences for any non-elected, non-eliminated candidate.)

The possible algorithms for doing this differ in detail, e.g., in the order of the steps. There is no general agreement on which is best, and the choice of method used may affect the outcome.

  1. Compute the quota.
  2. Assign votes to candidates by first preferences.
  3. Declare as winners all candidates who have achieved at least the quota.
  4. Transfer the excess votes from winners, if any, to hopefuls.
  5. Repeat 3–4 until no new candidates are elected. (Under some systems, votes could initially be transferred in this step to prior winners or losers. This might affect the outcome.)
  6. If these steps result in all the seats being filled, the process is complete. Otherwise:
  7. Eliminate one or more candidates, typically either the lowest candidate or all candidates whose combined votes are less than the vote of the next highest candidate.
  8. Transfer the votes of the eliminated candidates to remaining hopeful candidates.
  9. Return to step 3 and go through the loop until all seats are filled. (The last seat or seats might have to be filled by the few remaining candidates when the field of candidates thins to the number of remaining open seats, even if the candidates do not have quota.)

Surplus vote transfers

To minimize wasted votes, surplus votes are transferred to other candidates if possible. The number of surplus votes is known; but none of the various allocation methods is universally preferred. Alternatives exist for deciding which votes to transfer, how to weight the transfers, who receives the votes and the order in which surpluses from two or more winners are transferred. Transfers are attempted when a candidate receives more votes than the quota. Excess votes are transferred to remaining candidates, where possible.

A winner's surplus votes are transferred according to their next usable marked preference. Transfers are only done if there are still seats to fill. In some systems surplus votes are transferred only if they could possibly re-order the ranking of the two least-popular candidates.

In systems where exhausted votes can exist such as optional preferential voting, if the number of votes bearing a next usable marked preference are fewer than the surplus votes, then the transferable votes are simply transferred based on the next usable preference.

If the transferable votes surpass the surplus, then the transfer is done using a formula (p/t)*s, where s is a number of surplus votes to be transferred, t is a total number of transferable votes (that have a second preference) and p is a number of second preferences for the given candidate. This is the whole-vote method used in Ireland and Malta national elections. Transfers are done using whole votes, with some of the votes that are directed to another candidate left behind with the winner and others of the same sort of votes moved in whole to the indicated candidate. Lower preferences piggybacked on the ballots may not be perfectly random and this may affect later transfers. This method can be made easier if only the last incoming parcel of votes is used to determine the transfer, not all of the successful candidate's votes. Such a method is used to elect the lower houses in the Australian Capital Territory and in Tasmania.[3]

Under some systems, a fraction of the vote is transferred, with a fraction left behind with the winner. As all votes are transferred (but at fractional value), there is no randomness and exact reduction of the successful candidate's votes are guaranteed. However the fractions may be tedious to work with.

Hare STV the whole-vote method of transferring surplus votes

If the transfer is of surplus received in the first count, transfers are done in reference to all the votes held by the successful candidate.

If the transfer is of surplus received after the first count through transfer from another candidate, transfers are done in reference to all the votes held by the successful candidate or merely in reference to the most recent transfer received by the successful candidate.

Reallocation ballots are drawn at random from those most recently received. In a manual count of paper ballots, this is the easiest method to implement.

Votes are transferred as whole votes. Fractional votes are not used.

This system is close to Thomas Hare's original 1857 proposal. It is used in elections in the Republic of Ireland to Dáil Éireann (the lower chamber),[4] to local government,[5] to the European Parliament,[6] and to the university constituencies in Seanad Éireann (the upper chamber).[7]

This is sometimes described as "random" because it does not consider later back-up preferences but only the next usable one. Through random drawing of the votes to make up the transfer, statistically the transfers often reflect the make-up of the votes held by the successful candidate.

Sometimes, ballots of the elected candidate are manually mixed. In Cambridge, Massachusetts, votes are counted one precinct at a time, imposing a spurious ordering on the votes. To prevent all transferred ballots coming from the same precinct, every

n

th ballot is selected, where

\begin{matrix}

1
n

\end{matrix}

is the fraction to be selected.

Wright system

The Wright system is a reiterative linear counting process where on each candidate's exclusion the quota is reset and the votes recounted, distributing votes according to the voters' nominated order of preference, excluding candidates removed from the count as if they had not been nominated.

For each successful candidate that exceeds the quota threshold, calculate the ratio of that candidate's surplus votes (i.e., the excess over the quota) divided by the total number of votes for that candidate, including the value of previous transfers. Transfer that candidate's votes to each voter's next preferred hopeful. Increase the recipient's vote tally by the product of the ratio and the ballot's value as the previous transfer (1 for the initial count.)

Every preference continues to count until the choices on that ballot have been exhausted or the election is complete. Its main disadvantage is that given large numbers of votes, candidates and/or seats, counting is administratively burdensome for a manual count due to the number of interactions. This is not the case with the use of computerized distribution of preference votes.

From May 2011 to June 2011, the Proportional Representation Society of Australia reviewed the Wright System noting:

Hare-Clark

This variation is used in Tasmanian and ACT lower house elections in Australia. The Gregory method (transferring fractional votes) is used but the allocation of transfers is based just on the next usable preference marked on the votes of the last bundle transferred to the successful candidate.[8]

The last bundle transfer method has been criticized as being inherently flawed in that only one segment of votes is used to transfer the value of surplus votes, denying the other voters who contributed to a candidate's success a say in the surplus distribution. In the following explanation, Q is the quota required for election.

  1. Count the first preferences votes.
  2. Declare as winners those candidates whose total is at least Q.
  3. For each winner, compute surplus (total number of votes minus Q).
  4. For each winner, in order of descending surplus:
    1. Assign that winner's ballots to candidates according to the next usable preference on each ballot of the last parcel received, setting aside exhausted ballots.
    2. Calculate the ratio of surplus to the number of reassigned ballots or 1 if the number of such ballots is less than surplus.
    3. For each candidate, multiply ratio * the number of that candidate's reassigned votes and add the result (rounded down) to the candidate's tally.
  5. Repeat 3–5 until winners fill all seats, or all ballots are exhausted.
  6. If more winners are needed, declare a loser the candidate with the fewest votes, and reassign that candidate's ballots according to each ballot's next preference.

Example

Two seats need to be filled among four candidates: Andrea, Brad, Carter, and Delilah. 57 voters cast ballots with the following preference orderings:

1stAndreaAndreaDelilah
2ndBradCarterAndrea
3rdCarterBradBrad
4thDelilahDelilahCarter
Total162317

The quota is calculated as

{57\over2+1}=19

. In the first round, Andrea is elected, and her surplus votes are transferred. In the second, Carter, the candidate with the fewest votes, is excluded. His votes have Brad as the next choice. This gives Brad votes (exceeding the quota), electing him to the second seat:
Count:AndreaBradCarterDelilahResult
1st39 00 17Andrea elected
2nd19 128 17Carter eliminated
3rd19 20 0 17Brad elected
Other systems, such as the ones used in Ashtabula, Kalamazoo, Sacramento and Cleveland, prescribed that the votes to be transferred would be drawn at random but in equal numbers from each polling place. In the STV system used in Cincinnati (1924-1957) and in Cambridge city elections, votes received by a winning candidate were numbered sequentially, then if the surplus votes made up one quarter of the votes held by the successful candidate, each vote that was numbered a multiple of four was extracted and moved to the next usable marked preference on each of those votes. (In British, Irish and Canadian uses of STV the whole-vote method outlined above was used.)[9]

Gregory

The Gregory method, known as Senatorial rules (after its use for most seats in Irish Senate elections), or the Gregory method (after its inventor in 1880, J. B. Gregory of Melbourne) eliminates all randomness. Instead of transferring a fraction of votes at full value, transfer each of the votes at a fractional value.

In the above example, the relevant fraction is

style72
272-92

=

4
10
. Note that part of the 272 vote result may be from earlier transfers; e.g., perhaps Y had been elected with 250 votes, 150 with X as next preference, so that the previous transfer of 30 votes was actually 150 ballots at a value of
style15
. In this case, these 150 ballots would now be retransferred with a compounded fractional value of
style15
x
4
10

=

4
50

.

In the Republic of Ireland, the Gregory Method is used for elections to the 43 seats on the vocational panels in Seanad Éireann, whose franchise is restricted to 949 members of local authorities and members of the Oireachtas (the Irish Parliament).[10] In Northern Ireland, the Gregory Method has been used since 1973 for all STV elections, with up to 7 fractional transfers (in 8-seat district council elections), and up to 700,000 votes counted (in 3-seat European Parliament elections for the Northern Ireland constituency from 1979 to 2020).

An alternative means of expressing Gregory in calculating the Surplus Transfer Value applied to each vote is\text = \left(\right)\times \text

The Unweighted Inclusive Gregory Method is used for the Australian Senate.[11]

Transfer using a party-list allocation method

The effect of the Gregory system can be replicated without using fractional values by a party-list proportional allocation method, such as D'Hondt, Webster/Sainte-Laguë or Hare-Niemeyer. A party-list proportional representation electoral system allocates a share of the seats in a legislature to a political party in proportion to its share of the votes, a task which is mathematically equivalent to establishing a share of surplus votes to be transferred to a hopeful candidate based on the overall vote for an eliminated candidate.

Example: If the quota is 200 and a winner has 272 first-choice votes, then the surplus is 72 votes. If 92 of the winner's 272 votes have no other hopeful listed, then the remaining 180 votes have a second-choice selection and can be transferred.

Of the 180 votes which can be transferred, 75 have hopeful X as their second-choice, 43 have hopeful Y as their second-choice, and 62 have hopeful Z as their second-choice. The D'Hondt system is applied to determine how the surplus votes would be transferred - successive quotients are calculated for each hopeful candidate, one surplus vote is transferred to the hopeful candidate with the largest quotient, and the hopeful candidate's quotient is recalculated; this is repeated until all surplus votes have been transferred.

Divisor123–16171819–24252627–293031
X7537.5... <-- 3–16 -->4.4117654.166667... <-- 19–24 -->32.884615... <-- 27–29 -->2.52.419355
Y4321.5<-- 3–16 -->2.5294122.3888891.721.6538461.4333331.387097
Z6231<-- 3–16 -->3.6470593.444444<-- 19–24 -->2.482.3846152.0666672

As a result of this process, 30 surplus votes have been transferred to hopeful X, 17 to hopeful Y, and 25 to hopeful Z.

Secondary preferences for prior winners

Suppose a ballot is to be transferred and its next preference is for a winner in a prior round. Hare and Gregory ignore such preferences and transfer the ballot to the next usable marked preference if any.

In other systems, the vote could be transferred to that winner and the process continued. For example, a prior winner X could receive 20 transfers from second round winner Y. Then select 20 at random from the 220 for transfer from X. However, some of these 20 ballots may then transfer back from X to Y, creating recursion. In the case of the Senatorial rules, since all votes are transferred at all stages, the recursion is infinite, with ever-decreasing fractions.

Meek

In 1969, B. L. Meek devised a vote counting algorithm based on Senatorial (Gregory) vote counting rules. The Meek algorithm uses an iterative approximation to short-circuit the infinite recursion that results when there are secondary preferences for prior winners. This system is currently used for some local elections in New Zealand,[12] [13] and for elections of moderators on some internet websites, e.g. Stack Exchange Network portals.[14]

All candidates are allocated one of three statuses – Hopeful, Elected, or Excluded. Hopeful is the default. Each status has a weighting, or keep value, which is the fraction of the vote a candidate will receive for any preferences allocated to them while holding that status.

The weightings are:

Hopeful

1

Excluded

0

Elected

wnew=wold x

Quota
Candidate'svotes
which is repeated until

Candidate'svotes=Quota

for all elected candidates

Thus, if a candidate is Hopeful they retain the whole of the remaining preferences allocated to them, and subsequent preferences are worth 0.

If a candidate is Elected they retain the portion of the value of the preferences allocated to them that is the value of their weighting; the remainder is passed fractionally to subsequent preferences depending on their weighting. For example, consider a ballot with top preferences A, B, C, and D in that order, where the weightings of the candidates are

a

,

b

,

c

, and

d

, respectively. From this ballot A will retain

rA=a

, B will retain

rB=(1-a)b

, C will retain

rC=(1-a)(1-b)c

, and D will retain

rD=(1-a)(1-b)(1-c)d

.

If no candidate on a ballot has a weight of 1 then the sum total retained by the candidates on the ballot will be strictly less than 1. The amount by which 1 exceeds the ballot's total is called the "excess", and the total excess from all ballots is disposed of by altering the quota. Meek's method is the only method to change quota mid-process. The quota is found by

,a variation on Droop. This has the effect of also altering the weighting for each candidate.

This process continues until all the Elected candidates' vote values closely match the quota (plus or minus 0.0001%).[15]

Warren

In 1994, C. H. E. Warren proposed another method of passing surplus to previously-elected candidates.[16] Warren is identical to Meek except in the numbers of votes retained by winners. Under Warren, rather than retaining that proportion of each vote's value given by multiplying the weighting by the vote's value, the candidate retains that amount of a whole vote given by the weighting, or else whatever remains of the vote's value if that is less than the weighting.

Consider again a ballot with top preferences A, B, C, and D where the weightings are a, b, c, and d. Under Warren's method, A will retain, B will retain, C will retain, and D will retain .

Because candidates receive different values of votes, the weightings determined by Warren are in general different from Meek.

Under Warren, every vote that contributes to a candidate contributes, as far as it is able, the same portion as every other such vote.[17]

Distribution of excluded candidate preferences

The method used in determining the order of exclusion and distribution of a candidates' votes can affect the outcome, and multiple such systems are in use. Most systems (with the exception of an iterative count) were designed for manual counting processes and can produce different outcomes.

The general principle that applies to each method is to exclude the candidate that has the lowest tally. Systems must handle ties for the lowest tally. Alternatives include excluding the candidate with the lowest score in the previous round and choosing by lot.

Exclusion methods commonly in use:

Bulk exclusions

Bulk exclusion rules can reduce the number of steps required within a count. Bulk exclusion requires the calculation of breakpoints. Any candidates with a tally less than a breakpoint can be included in a bulk exclusion process provided the value of the associated running sum is not greater than the difference between the total value of the highest hopeful's tally and the quota.

To determine a breakpoint, list in descending order each candidates' tally and calculate the running tally of all candidates' votes that are less than the associated candidates tally. The four types are:

Quota breakpoints may not apply with optional preferential ballots or if more than one seat is open. Candidates above the applied breakpoint should not be included in a bulk exclusion process unless it is an adjacent quota or running breakpoint (see 2007 Tasmanian Senate count example below).

Example

Quota breakpoint (based on the 2007 Queensland Senate election results just prior to the first exclusion):

CandidateBallot positionGroupAbGroup nameScoreRunning sumBreakpoint / status
Macdonald, Ian DouglasJ-1LNPLiberal345559Quota
Hogg, John JosephO-1ALPAustralian Labor Party345559Quota
Boyce, SueJ-2LNPLiberal345559Quota
Moore, ClaireO-2ALPAustralian Labor Party345559Quota
Boswell, RonJ-3LNPLiberal2844881043927Contest
Waters, LarissaO-3ALPAustralian Labor Party254971759439Contest
Furner, MarkM-1GRNThe Greens176511504468Contest
Hanson, PaulineR-1HANPauline101592327957Contest
Buchanan, JeffH-1FFPFamily First52838226365Contest
Bartlett, AndrewI-1DEMDemocrats45395173527Contest
Smith, BobG-1AFLPThe Fishing Party20277128132Quota breakpoint
Collins, KevinP-1FPAustralian Fishing and Lifestyle Party19081107855Contest
Bousfield, AnneA-1WWWWhat Women Want (Australia)1728388774Contest
Feeney, Paul JosephL-1ASPThe Australian Shooters Party1285771491Contest
Johnson, PhilC-1CCCClimate Change Coalition870258634Applied Breakpoint
Jackson, NoelV-1DLPD.L.P. - Democratic Labor Party725549932
Others4267742677

Running breakpoint (based on the 2007 Tasmanian Senate election results just prior to the first exclusion):

CandidateBallot positionGroupAbGroup nameScoreRunning sumBreakpoint / status
Sherry, NickD-1ALPAustralian Labor Party46693Quota
Colbeck, Richard MF-1LPLiberal46693Quota
Brown, BobB-1GRNThe Greens46693Quota
Brown, CarolD-2ALPAustralian Labor Party46693Quota
Bushby, DavidF-2LPLiberal46693Quota
Bilyk, CatrynaD-3ALPAustralian Labor Party37189Contest
Morris, DonF-3LPLiberal28586Contest
Wilkie, AndrewB-2GRNThe Greens1219327607Running breakpoint
Petrusma, JacquieK-1FFPFamily First647115414Quota breakpoint
Cashion, DebraA-1WWWWhat Women Want (Australia)24878943Applied breakpoint
Crea, PatE-1DLPD.L.P. - Democratic Labor Party20276457
Ottavi, DinoG-1UN313474430
Martin, SteveC-1UN18483083
Houghton, Sophie LouiseB-3GRNThe Greens3532236
Larner, CarolineJ-1CECCitizens Electoral Council3111883
Ireland, BedeI-1LDPLDP2981573
Doyle, RobynH-1UN22451275
Bennett, AndrewK-2FFPFamily First1741030
Roberts, BettyK-3FFPFamily First158856
Jordan, ScottB-4GRNThe Greens139698
Gleeson, BelindaA-2WWWWhat Women Want (Australia)135558
Shackcloth, JoanE-2DLPD.L.P. - Democratic Labor Party 116423
Smallbane, ChrisG-3UN3102307
Cook, MickG-2UN374205
Hammond, DavidH-2UN253132
Nelson, KarleyC-2UN13579
Phibbs, MichaelJ-2CECCitizens Electoral Council2344
Hamilton, LukeI-2LDPLDP2121

See also

External links

Notes and References

  1. file:///C:/Users/Mergy/Downloads/Misinterpratation_of_Hagenbach-Bischoff_Quota-libre.pdf
  2. https://www.electoral-reform.org.uk/finding-the-finish-line-how-to-set-the-quota-under-stv/
  3. Book: Farrell and McAllister . The Australian Electoral System . 60.
  4. Web site: Electoral Act 1992, Section 121: Transfer of surplus. Irish Statute Book. 5 November 1992. 9 March 2020.
  5. Web site: Local Elections Regulations 1995, Regulation 83: Transfer of Surplus. Irish Statute Book. 19 November 1937. 9 March 2020.
  6. Web site: European Parliament Elections Act 1997, Schedule 2: Rules for the conduct of the election, etc., Rule 85. Irish Statute Book. 13 November 1995. 9 March 2020.
  7. Web site: Seanad Electoral (University Members) Act 1937, Third Schedule: Counting of the Votes. Irish Statute Book. 19 November 1937. 9 March 2020.
  8. Book: Farrell and McAllister . The Australian Electoral System . 60.
  9. Book: Hoag and Hallett . Proportional Representation . 1926 . 345–346, 389–394.
  10. Web site: Seanad Electoral (Panel Members) Act 1947, Second Schedule: Counting of the Votes. Irish Statute Book. 19 December 1947. 9 March 2020.
  11. Web site: Variants of the Gregory Fractional Transfer. Proportional Representation Society of Australia . 6 December 2018 . 5 October 2019.
  12. Web site: World-first for Aotearoa – Meek's method implemented . 1 Feb 2003 . The Mahurangi Magazine . 19 October 2021.
  13. Web site: Single transferable vote . 10 May 2004 . The Department of Internal Affairs . 19 October 2021.
  14. Web site: There's an election going on. What's happening and how does it work? . 10 June 2012 . StackExchange Meta . 21 April 2015.
  15. Algorithm 123 — Single Transferable Vote by Meek's Method . Hill . I. David . B. A. . Wichmann . D. R. . Woodall . The Computer Journal . 30 . 2 . 277–281 . 1987 . 10.1093/comjnl/30.3.277. free .
  16. Warren, C. H. E., "Counting in STV Elections", Voting matters 1 (1994), paper 4.
  17. Hill, I. D. and C. H. E. Warren, "Meek versus Warren", Voting matters 20 (2005), pp. 1–5.
  18. Web site: Rules of the Proportional Representation Society of Australia for conducting election by Quota-Preferential.