# Total Probability and Bayes's Theorem

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration provides examples of total probability and Bayes's theorem. In the given world a figure X is randomly chosen. What is the probability of the given statement S? Suppose the statement is true. What is the probability that X = A? What is the probability that X = B?

[more]
Contributed by: Izidor Hafner (March 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

The conditional probability of an event A assuming that B has occurred, denoted P(A|B), equals P(A|B)=(P(A ⋂ B))/(P(B)). If P(B)=0, P(A|B) is undefined.

## Permanent Citation