Back to portfolio

Does narrowly winning a federal riding help a party win it again?

Parties that win a riding (a federal electoral district) tend to win it again, but mostly because they were strong there already. Comparing candidates who just won with those who just lost separates the advantage of winning from that strength. This project starts from an earlier, unpublished replication of Kendall and Rekkas's study of this, and a critique of it. It reruns that work in Python, applies current methods, tests the points the critique raised and adds the elections from 2011 to 2025.

Personal project: my own analysis of publicly available data. It is not associated with my work for any current or past employer and does not represent their views.

At a glance

QuestionMethodsAnswer
Do the 2022 numbers reproduce?The Stata regressions rewritten in Python, as a testYes: all 20 estimates, standard errors and sample sizes.
How large is the advantage?Local linear regression discontinuity, data-driven bandwidth, robust rangeA narrow win adds 11.6 points to the chance of winning next time (4.9 to 16.0).
Does it depend on the bandwidth?The same estimate at 14 bandwidthsLittle from 5 to 15 points, then it rises with the bandwidth.
Has it changed since 2008?Riding links across two redistributionsCan't tell. It is 15.6 points since 2011 (−1.9 to 27.4), and it runs from 10 to 30 depending on the linking rule.
Does the margin's denominator matter?Votes over eligible voters, 2006 to 2025Little: 14.2 points on votes cast and 12.7 on eligible voters.

Ranges are 95%. A point here is a percentage point. The estimates describe close races only.

1. How large is the advantage?

  • Liberal and Conservative candidates, 1872-2025
  • rdrobust
  • Triangular kernel
  • Clustered by riding
Scatter of the share of candidates who won by their party's margin in the riding at the last election, in one-point bins. Lines fitted on each side of zero jump from about 43% to about 55%, labelled 0.116 with a 95% range of 0.049 to 0.160.
Share of candidates who won, by their party's margin last time. Each dot is a one-point bin, sized by the number of candidates.

A narrow win adds 11.6 points to a party's chance of winning the riding next time (95% range 4.9 to 16.0), for Liberal and Conservative candidates from 1872 to 2025. All 20 estimates in the 2022 table reproduce, with their standard errors and sample sizes.

SampleEstimate95% robust rangeBandwidth, pointsCandidates
1872-20080.1130.042 to 0.16015.213,653
1872-20250.1160.049 to 0.16014.216,519
1872-2025, province and parliament effects0.1110.045 to 0.15214.416,519

This covers the party's overall advantage. I did not repeat the paper's split between party and individual effects.

2. Does it depend on the bandwidth?

The critique asked whether the result depends on the two bandwidths the paper reports. It changes little between 5 and 15 points. Past 20 it climbs, because a straight line is being fitted through a curve, and the bias-corrected estimate stays near 0.11. The paper's cubic and quartic fits over ±70% are kept only for comparison, following Gelman and Imbens (2019).

Line chart of the estimate at each bandwidth from 2 to 70 points. Two lines stay near 0.10 to 0.12 from about 5 to 15 points, then climb to 0.25 and 0.31 at 70 points. The 95% robust range is wide below 5 points and stays above zero from 3 points up.
Local linear estimates at each bandwidth, with the 95% robust range shaded.

3. Has it changed since 2008?

Federal ridings were redrawn before the 2015 and 2025 elections, so most new ridings have no exact predecessor. I linked ridings by their shared voters, using Elections Canada's transposition for 2013 and rebuilding the flows from 2021 polling divisions for 2023. At 75% overlap, 217 of 338 ridings link in 2015 and 283 of 343 in 2025. The rebuilt 2023 flows match Elections Canada's transposed elector counts with a correlation of 0.999.

Dot and range chart of the estimate for 2011 to 2025 under six linking rules: 0.13 at 50% overlap, 0.16 at 75%, 0.16 at 90%, 0.29 at 99%, 0.30 using only elections on the same map, and 0.10 with transposed margins for every riding. The ranges at 99% and on the same map exclude zero.
Estimates since 2011 under each linking rule, with 95% robust ranges.

The estimate since 2011 is 15.6 points (−1.9 to 27.4), and it runs from 10 to 30 depending on the linking rule. I can't say that the advantage has changed.

Dot and range chart of estimates in seven eras from 1872 to 2025, between about 0.01 and 0.21 with no clear trend. Only the range for 1935 to 1958 excludes zero.
Estimates in each era, each with its own data-driven bandwidth.

4. Other checks

Dividing the margin by eligible voters instead of votes cast, as the critique proposed, changes little: 12.7 points against 14.2 for 2006 to 2025. False cutoffs show no jumps, and a narrow win doesn't change whether a party runs again. Two checks are less clean: the density of Conservative margins before 1950, and narrow winners being somewhat less likely to have won two elections back. With about 35 tests, one or two below 5% are expected by chance, though I can't rule out real sorting in the early period.

Dot and range chart of estimates at twelve false cutoffs from −20 to +20 points. All ranges include zero. The true cutoff at zero shows 0.116, with a range above zero.
Estimates at made-up cutoffs, with the true cutoff in blue and 95% robust ranges.

Working with the source file also showed that 159 of its 308 winning margins for 2008 are measured against the third-place candidate. This doesn't affect the 2022 numbers, and I take all margins from 2008 on from Elections Canada's tables.

Data

Elections Canada official voting results, 2004 to 2025, transposition of votes, polling division boundaries and poll-by-poll results. The 1867-2008 file is from Kendall and Rekkas, "Incumbency advantages in the Canadian Parliament", Canadian Journal of Economics (2012), and isn't redistributed.

The results here are derived from copies of these sources and aren't official Elections Canada figures. Contains information licensed under the Open Government Licence - Canada.