Last night saw the Labor government get the good end of the stick in the Dunkley by-election, easily retaining a seat that was precariously above the long-term average swing for government vacancy by-elections. It's no disaster for the Liberals who have got a modest swing with some mitigating factors but they (especially Jane Hume) were out in force last night spinning the outcome as a triumph. Together with the usual nonsense about first-term governments not in recent decades losing seats and governments not losing by-elections caused by deaths (both based on trivially small sample sizes) I heard a lot about how they had turned Dunkley marginal and they were coming for the seat.
Marginal seat status where a seat is retained is determined by general election results not by-elections (so Dunkley is no more a marginal seat than it was before), but this made me wonder, does getting a seat inside the marginal range at a by-election predict anything at all? I've found that such seats have historically almost always been retained by the government at the next election, although on average the election-to-election swing has been worse than the national average in such cases. The idea that the Liberals have put Dunkley in serious danger next time with a swing that is not even bog-average for a government vacancy by-election has no basis.