By-elections generate more confident prediction than almost any other event in British politics, and their record as predictors is poor. Understanding why explains a good deal about how to read them usefully.
What does the record show?
That large by-election swings are frequently reversed at the following general election. Seats gained on dramatic swings are often lost again within a few years, sometimes by margins that make the by-election look like an aberration.
This has been true across decades and across parties. The Liberals and later the Liberal Democrats built a long record of spectacular by-election gains, a substantial proportion of which did not survive the next general election.
Why are they unreliable?
Because almost every feature that makes a by-election dramatic is absent at a general election. Turnout is far lower and differently composed. Campaign resources are concentrated to a degree impossible nationally. The government is not at stake, so voting carries no risk.
Remove those three conditions and the same electorate behaves differently, which is what the reversal pattern demonstrates.
Do they tell you anything at all?
Yes, provided the question is the right one. A by-election is decent evidence about the current mood among people motivated enough to vote, and about whether a party organisation can still deliver a campaign.
It is weak evidence about what will happen in two years with a government at stake, which is the question people usually want it to answer.
What makes a result more meaningful?
Several things. A swing considerably larger than the historical mid term average for a government at that point in the cycle. Consistency across several contests in different regions and different types of seat. And a result that holds when the seat is defended again.
A single result in a single seat, however dramatic, is the weakest form of evidence available and attracts the most coverage.
How should turnout affect the reading?
Heavily. Comparing raw vote numbers with the general election in the same seat shows whether the governing party lost voters or simply failed to turn them out.
Where its vote fell by twelve thousand while the winner rose by two thousand, the story is abstention rather than conversion, and abstention is far more easily reversed when a government is at stake.
What about the collective record?
Better than individual contests. A run of by-elections over a Parliament, taken together and adjusted for the historical mid term pattern, tracks the eventual outcome more closely than any single result.
Analysts who have examined this find a relationship between cumulative by-election performance and the following general election, with governing parties typically recovering part of the ground lost.
How do they compare with polling?
Differently rather than better. Polls measure stated intention across the country; by-elections measure actual behaviour in one place under unusual conditions.
Each has a distinct weakness, and where the two point in the same direction the evidence is stronger than either alone. Where they conflict, the sensible answer is usually that both are measuring something real and neither is measuring the general election.
What is the practical rule?
Treat a by-election as a thermometer rather than a forecast. It reports the temperature at one location on one day, under conditions that will not be repeated.
The House of Commons Library record of by-elections, with swings and turnout for every contest, is the reference for making the historical comparison, and doing that comparison is what separates a useful reading from the confident extrapolation that follows every dramatic result.
What do the parties themselves think?
Rather more sceptically than their public statements suggest. Campaign professionals treat by-elections as tests of organisation and morale rather than as forecasts, and internal expectations are usually set well below the public rhetoric.
The public claims are made because they have to be. A party that describes its own by-election win as unrepresentative gains nothing, which is why the sceptical reading almost never comes from the participants.