Example — Influenza vaccine

Giorgio has to decide whether to get vaccinated against influenza. We know that the vaccine has partial coverage. Let us define:

  • AA = “Giorgio gets vaccinated”;
  • BB = “Giorgio catches influenza”.

From the statistical data: P(A)=15P(A) = \tfrac{1}{5}, P(B)=13P(B) = \tfrac{1}{3}, and among the vaccinated the proportion of those who fall ill is P(BA)=16P(B\mid A) = \tfrac{1}{6}.

Does the vaccine protect? If AA and BB were independent, getting vaccinated would make no difference. Let us compare P(BA)P(B\mid A) with P(B)P(B):

P(BA)=160,167<P(B)=130,333.P(B\mid A) = \tfrac{1}{6} \approx 0,167 \quad < \quad P(B) = \tfrac{1}{3} \approx 0,333.

Getting vaccinated halves the probability of falling ill: the events AA and BB are negatively correlated. By the law of compound probability:

P(AB)=P(A)P(BA)=1516=130.P(A\cap B) = P(A)\cdot P(B\mid A) = \tfrac{1}{5}\cdot\tfrac{1}{6} = \tfrac{1}{30}.

So the correlation is:

corr(A,B)=1/30(1/5)(1/3)1=1/301/151=121=12.\operatorname{corr}(A,B) = \frac{1/30}{(1/5)(1/3)} - 1 = \frac{1/30}{1/15} - 1 = \tfrac{1}{2}-1 = \boxed{-\tfrac{1}{2}}.

The negative correlation confirms the protective effect of the vaccine.

Let us fill in the table. With P(AB)=130P(A\cap B) = \tfrac{1}{30} we deduce all the cells:

AA (vaccinated)A\overline{A} (not vacc.)Total
BB (influenza)130\tfrac{1}{30}930\tfrac{9}{30}1030=13\tfrac{10}{30}=\tfrac{1}{3}
B\overline{B} (healthy)530\tfrac{5}{30}1530\tfrac{15}{30}2030=23\tfrac{20}{30}=\tfrac{2}{3}
Total630=15\tfrac{6}{30}=\tfrac{1}{5}2430=45\tfrac{24}{30}=\tfrac{4}{5}11

From here we can answer other questions, for example: among those who do not get vaccinated, what is the probability of falling ill?

P(BA)=P(AB)P(A)=9/3024/30=38=37,5%.P(B\mid \overline{A}) = \frac{P(\overline{A}\cap B)}{P(\overline{A})} = \frac{9/30}{24/30} = \boxed{\tfrac{3}{8} = 37,5\%}.

Topics: Probability
Concepts: Correlation · Conditional probability · Contingency table
Methods: Conditional probability · Contingency table
Skills: Probability calculation · Modelling