Skip to main content

Conditional Probability

Une composante d'apprentissage illustrant la probabilité conditionnelle pour deux variables binaires dépendantes.

Options

  • A | string: première variable. Default: 'A'.
  • B | string: deuxième variable. Default: 'B'.

Exemples

Éditeur en direct
Résultat

Consider events and . Let and . Then we have and . These form the marginals in the following probability table

What are the inner cells equal to? If the events are random, we have .

Bnot B
A0.5
not A0.5
0.50.51.0

B not B
A
not A

Chooseand

What about the conditional probabilities?

0.20.40.60.81P(A|B)P(A|not B)1.8491.849

The events are independent because