Skip to Content

Smallpox Vaccine

Context

“Let me give you an example in which probabilities make all the difference. It echoes the public debate that erupted in Europe when the smallpox vaccine was first introduced. Unexpectedly, data showed that more people died from smallpox inoculations than from smallpox itself. Naturally, some people used this information to argue that inoculation should be banned, when in fact it was saving lives by eradicating smallpox.”

Pearl, Judea. The Book of Why: The New Science of Cause and Effect (pp. 43-44). Basic Books. Kindle Edition. 

The Problem as a Bayesian Network

Question: Do Vaccines Kill?

“I can empathize with the parents who might march to the health department with signs saying, ‘Vaccines kill!’ And the data seem to be on their side; the vaccinations indeed cause more deaths than smallpox itself. But is logic on their side? Should we ban vaccination or take into account the deaths prevented?” (Pearl, p. 44)

Querying the Bayesian Network

  • We attempt to answer this counterfactual question in BayesiaLab.

  • To do so, we need to set Vaccinated=False as Hard Evidence, thus simulating a counterfactual world in which no children are vaccinated.

  • The Bayesian network infers that not vaccinating would cost the lives of 4,000 children, as shown in the green Function Node.

    Loading SVG...
    Click to Zoom