Skip to content

Bayesian Updating of Carrier Probability

Open Bayesian Updating of Carrier Probability Fullscreen

About This MicroSim

Chapter 1: Genetic Inference and Probabilistic Reasoning

Library: p5.js

Type: Interactive simulation sim-id: bayesian-carrier-probability
Library: p5.js
Status: Specified

An interactive visualization showing how a woman's carrier probability updates as she has successive unaffected children. A slider controls the number of unaffected children (0–10). The display shows a probability bar that starts at 2/3 and decreases with each unaffected child, alongside the Bayesian calculation at each step. The prior, likelihood, and posterior are labeled clearly.