Example — Influenza vaccine
Giorgio has to decide whether to get vaccinated against influenza. We know that the vaccine has partial coverage. Let us define:
- A = “Giorgio gets vaccinated”;
- B = “Giorgio catches influenza”.
From the statistical data: P(A)=51, P(B)=31, and among the vaccinated the proportion of those who fall ill is P(B∣A)=61.
Does the vaccine protect? If A and B were independent, getting vaccinated would make no difference. Let us compare P(B∣A) with P(B):
P(B∣A)=61≈0,167<P(B)=31≈0,333.
Getting vaccinated halves the probability of falling ill: the events A and B are negatively correlated. By the law of compound probability:
P(A∩B)=P(A)⋅P(B∣A)=51⋅61=301.
So the correlation is:
corr(A,B)=(1/5)(1/3)1/30−1=1/151/30−1=21−1=−21.
The negative correlation confirms the protective effect of the vaccine.
Let us fill in the table. With P(A∩B)=301 we deduce all the cells:
| A (vaccinated) | A (not vacc.) | Total |
|---|
| B (influenza) | 301 | 309 | 3010=31 |
| B (healthy) | 305 | 3015 | 3020=32 |
| Total | 306=51 | 3024=54 | 1 |
From here we can answer other questions, for example: among those who do not get vaccinated, what is the probability of falling ill?
P(B∣A)=P(A)P(A∩B)=24/309/30=83=37,5%.
Links
Topics: Probability
Concepts: Correlation · Conditional probability · Contingency table
Methods: Conditional probability · Contingency table
Skills: Probability calculation · Modelling