I just posted the latest federal projections, using the most recent numbers from Abacus. So head over there if you want to read my comments and see the details. This post is about the uncertainty of polls and how to represent it.

When dealing with polls, uncertainty is clearly present. Not only do we have the natural statistical variation (due to sampling), but we also have the fact that a lot of people aren't fully decided and comitted to one party. In the latest Abacus poll for instance, as much as 22% of the respondents are labeled as undecided. When polls are wrong like it has been the case in the recent Alberta, Quebec and BC elections, pollsters often cite a "late swing" of undecided to justify their mistakes.

Also, when polls are reported in the media, it's usually the case that only the voting intentions are reported, with the margins of error just mentionned (usually at the end of the article). Not only that, but these margins of error only account for the normal statistical variation. [Note: I know online polls don't have a so-called probabilist sample and the normal margins of error don't apply in theory. For the sake of argumentation for this post, let's forget about this issue that hasn't been well studied or solved yet]

All in all, we don't have a good and clear picture of the uncertainty that exists in every poll.

Abacus now ask a different question to measure voting intentions. Instead of simply asking "Who would you vote for?", they ask respondents to rank their likelihood to vote for each party, on a scale of 0 to 10 (from less likely to more). Using this unique information (as far as I know, no other pollster in Canada does this), I calculated what we could call volatility ranges. These ranges, or intervals if you prefer, can be seen as confidence intervals that account for the normal statistical variation as well as for the additional uncertainty that arises due to the fact that most respondents aren't fully decided for one party. If you prefer, just think of the fact that measuring voring intentions isn't the same as measuring the average age of a population for instance. In this case, the only uncertainty is really due to the statistical variation (i.e: maybe you got a bad sample). But voting intentions are different, people can be undecided between two or more parties, people can change their mind, etc. The data from Abacus allow us to have a different look at this issue.

A big thank to David Coletto from Abacus for giving me access to his data and collaborating with me.

Here are the steps to calculate these volatility ranges:

1. Conversion of the likelihood score into probabilities. Respondents are asked to report their likelihood, from 0 to 10. But what exactly does it mean? Does someone who reports a likelihood to vote Liberals of 5 have 50% chances of voting Liberals? Or, is someone with a likelihood of 8 twice as likely to vote for this party as someone at 4? We can't compare the likelihood to the actual vote, but we can compare the likelihood to the answers to the traditionnal voting intentions quesiton. By doing so, we can observe for instance how many people with a likelihood to vote Liberals of 5 would actually choose this party when asked who they'd vote for. Doing so revealed some clear non-linearities. For instance, among people at 5 for the Liberals in the latest Abacus poll, only 14% would support this party when asked their voting intentions. But this number climbs to 95% for respondents with a likelihood of 10. Overall, it seems people become serious about a party when reporting a likelihood of 7 and more.

What I observed as well is that some parties are better at converting the likelihood into actual support. In the last Ontario election for instance, there were almost as many respondents with a likelihood to vote Conservatives of 5 or more as respondents in the same situation for the NDP. But when asked their actual voting intentions, the PC was largely ahead of the NDP (a situation that also occured on election night). In other words, there were a lot of people who could vote NDP, but only a fraction of them ultimately chose this party.

2. The second step is to randomize the conversion rates. The idea is to even out the various parties' conversion rates. If you prefer, we're trying to see what could have happened if the NDP had the same conversion rates as the Conservatives for instance. For each randomization, some parties are assigned high conversion rates while others are assigned low rates. The possible range is determined from the observed min and max. Specifically, in the latest Abacus poll, among people with a likelihood of 6 for instance, the conversion rates varied between 20% (for the Conservatives) and 36% (the Liberals). So we randomize between this range and proceed this way for every likelihood score. We don't simply make up probabilities.

3. Once this is done, we apply these conversion rates to each respondents, based on his or her likelihood. To follow on our example, someone with a likelihood to vote Conservatives of 6 would then see this number be converted into a probability between 20% and 35%. During this step, some normalization is usually required. For instance, we can have a respondent with a likelihood to vote Liberals of 6 and a likelihood of 7 for the Conservatives. We need to make sure the probabilities sum to 100%.

4. The final step consists of sampling at the respondent level. Specifically, each individual is randomly assigned to one party, based on his probabilities (which are themselves based on his likelihood to vote for each party). So if someone has 40% chances to vote Conservatives and 60% to vote Liberals, this individual will be assigned to one of the two parties in each simulation. Out of the 5000 simulations, this individual willl of course have been assigned 60% of the time to the Liberals. By doing that for each respondent and then summing over all of them, we get a simulated outcome (i.e: we get that the Conservatives would received 400 votes out of a 1000 respondents for instance while the Liberals would get 380 votes). By repeating the process 5000 times, we get the possible ranges of outcomes. What is reported below are the 95% confidence intervals for these outcomes.

It's important to understand that we aren't making up support. The support exists in the form of the likelihood to vote. We simply run simulations to see the possible outcomes. If you prefer, instead of simply saying that there are people undecided between the Liberals and the NDP, we see what could happen if these undecided were to vote for one party or the other. But we do it in a systematic and robust way that accounts for all the parties and all the various likelihoods.

Results using the latest federal data from the Abacus poll:


CPC
LPC
NDP
Green
Bloc
Voting intentions
29.6%
29.2%
27.5%
4.3
8.4
Volatility ranges
21-37%
21-35%
20-36%
3-7%
6-15%


The three parties are really all tied. The NDP even has a higher potentiel than the Liberals, despite being polled below them with the traditionnal voting intentions question. It means that in this poll, the Liberals were better at converting thir support than the NDP. It's another way to look at the importance of getting the vote out. Parties must not only convince people to possibly vote for them, they must also make sure they end up doing so!

If we compare our ranges to the normal confidence intervals, we can see that ours are naturally bigger. it makes sense since they account for more uncertainty. Specifically, the Abacus poll, with 1600 respondents, would have margins of error of + or - 2.25% for the three parties (since they are all around 30%). That would give intervals of 5 points. On the other hand, our ranges are around 15 points, or + or - 7.5 if you prefer. Therefore, it seems that the uncertainty due to the fact that a lot of respondents aren't fully decided and comitted to one party can be represented (in this case) with an additional + - 5 points.


After month of a Trudeau-mania, things seem to have become a lot tighter in federal politics. The latest Abacus poll shows a statistical tie between the Conservatives, Liberals and NDP.

However, the small advantage for the party of Stephen Harper in term of votes is actually much more important when we look at seat projections. Indeed, the Tories are projected to have a 28 seats lead over the Liberals. The simulations, which account for the uncertainty due to the polls as well as the electoral system, show that Stephen Harper would have 96% chances of winning the most seats. The detailed, riding-by-riding projections are available here. I'm still using the old electoral map since Election Canada hasn't published a transposition of the vote yet.

Voting intentions, seat projectionss, confidence interval at 95% for the seats, chances of winning election

Il y a 1 an exactement le PQ remportait une élection serrée devant le PLQ qui performait bien au-dessus de tous les sondages.

La question que je vous pose: si l'élection avait lieu aujourd'hui, voteriez-vous pour le même parti ou changeriez-vous votre vote?

Si l'Élection avait lieu aujourd'hui, voteriez-vous de la même façon?
  
pollcode.com free polls 
Le dernier sondage Léger montre un PQ plus élevé que les précédents sondages. Le parti de Pauline Marois est certes deuxième, 4 points derrière le PLQ de Philippe Couillard, mais grâce à son avantage chez les francophones, ce parti aurait presque 50% de chances de remporter le plus de sièges.

À remarquer qu'il y a une légère asymétrie ici. En effet, si vous entrez les chiffres du sondage dans le simulateur, vous obtenez que le PQ remporterait 59 sièges, soit un de plus que le PLQ. Or, en tenant compte de l'incertitude liée aux sondages ainsi qu'au mode de scrutin, les simulations montrent que le PLQ remporterait le plus de sièges un peu plus de 50% du temps. Ce genre d'asymétrie n'est pas anormale dans un système avec autant de partis. Au final, soyons honnêtes ici, une élection avec ces pourcentages serait pas mal du 50-50. De plus, lorsqu'il y a égalité, je considère cela comme une victoire pour les deux. Sur 1000 simulations, une égalité se produit 39 fois. Si l'on part plutôt du principe qu'en cas d'égalité le PQ conserve le pouvoir (ce qui est constitutionnellement le cas), alors le PQ et le PLQ ont exactement 50% de chances de gagner.

Intentions de votes, projections de sièges, intervalle à 95% pour les sièges, chances de gagner.
Mes billets sont en général assez longs. De temps à autres, je posterai des billets plus courts, sous la mention "en chiffres". L'idée est simplement de fournir beaucoup de chiffres sans explication. S'il y a un chiffre, probabilité ou scénario qui vous intéresse, faites-le moi savoir dans les commentaires et je verrai si je peux l'ajouter.


Scénarios
Probabilités
Victoire PLQ
96%
Majorité du PLQ
81%
Victoire du PQ
4%
Égalité (sièges) entre PLQ et PQ
0.6%


Sièges

Max PLQ
92
Min PLQ
46
Max PQ
65
Min PQ
26
Max CAQ
21
Min CAQ
4
Max QS
4


Autres

# comtés où trois partis peuvent gagner
21
# comtés où un parti gagne 100% du temps
49
Pour le PLQ
31
Pour le PQ
14
Pour la CAQ
2
Pour QS
2


Plus petit % de voix avec lequel le PQ gagne
30.4%
Écart avec le PLQ
(-)7 pts




Basé sur les projections avec le sondage Crop du 21 août 2013. Détails ici.




L'été est traditionnellement une période tranquille en politique et nous n'avons pas eu de sondage depuis un bout de temps. Cela explique en partie pourquoi le blogue n'a été que très peu mis-à-jour (il y a d'autres raisons: j'étais en vacances, je travaillais avec des données d'Abacus et je vais bientôt changer le look du site).

Le dernier sondage Crop nous montre une situation fort similaire à ce printemps: Le PLQ largement en tête, le PQ deuxième. Vous pouvez naturellement entrer ces chiffres dans le simulateur. J'en ai fait de même, mais j'ai d'autres outils à ma dispositions. Cela me permet de vous donner davantage d'information, telles que les probabilités et les intervalles de sièges à 95%. Vous avez les résultats ci-dessus. Si vous voulez davantage d'information, cliquez pour lire le reste.

Intentions de votes, projections de sièges, intervalles de sièges à 95%, probabilités de gagner.
The latest (not recent, sorry I'm a little bit late on that one) poll from Abacus shows the three main federal parties very close to each other. However, once we take into account the distribution of the vote, the Liberals of Justin Trudeau would be the clear favorite to win the election.

Please note that Abacus doesn't allocate the undecided anymore. They made this choice after the last BC election. While it's nice, I don't have an "undecided" category in my seat projections model. Therefore, I allocated the undecided proportionally. During the next election, I'll spend a lot of time looking and studying these undecided voters. But for now, it'll do.

The average projections would put the Liberals and Conservatives in a tie. If that was to actually happen, Stephen Harper would then remain PM, unless the NDP wold of course announce some sort of deal or support for Justin Trudeau.

In terms of probabilities, the Liberals would have around 65% chances to win the most seats. The Conservatives are only at 35%. As for the NDP, its chances are almost zero. It might seem weird that the NDP, despite being so close in the overall popular vote, would have virtually no chance of forming the next government. This happens mostly for two reasons. First of all, being third in Ontario would realy hurt this party. Secondly, the NDP currently doesn't seem to have a sure region or province. The Liberals have the Atlantic while the Conservatives have the Prairies and Alberta. For the NDP, the closest thing would be BC but it doesn't completely compensate for the other regions/provinces. But let's be clear here, if it was an election, we'd have to consider the NDP as being in the race. Simply with lower odds.



The detailed projections (riding by riding) are here.

Despite being projected equal with the Conservatives, the Liberals thus have a lot more chances to win the election. This happens because the Tories are close to some sort of breaking point. At 27% and by staying high in the West, they could rival the Liberals. But 1-2 additional points difference and the Grits would take a big lead. In particular, the Liberals would benefit from being back to first in Quebec, a province where the Conservatives are now almost non-existant outside of a couple of ridings. Not being competitive in the second largest province really affects the chances of the Conservatives. It was fine to ignore la Belle Province when the Liberals where far behind everywhere. But now that this party is up virtually in every province, it is a lot more costly. Especially since Liberals and NDP don't seem to be splitting the vote much in Quebec.

There doesn't seem to be a possibility for a majority governement though. The maximum for the Liberals is 150 while it is 125 for the Conservatives. Even by taking the super best case scenario (the max in each province), Stephen Harper couldn't get higher than 142. And it's borderline impossible scenario. It'd require the Conservatives to beat the polls and be efficient in their votes in every province.

It's interesting to see that the Bloc is projected at 12 seats, as compared to 0 with the latest Nanos poll of my previous post (in french). Being 7 points higher, coupled with the lower NDP, really would help this party to come back. Still, this party is nowhere near its high of a couple of years ago.

I won't be publishing an article like this for every poll. I decided to do it this time to show the probabilities that are now povided for every riding in every province. The Abacus poll was perfect since it showed a close race, at least in the popular vote. As usual, you can simply use the simulator to enter your own percentages or the ones from another poll.