Bayes’ Probability Calculator

## Formula:

### Bayes

Let $A_1, A_2, \cdots, A_n$ are mutually exclusive and exhaustive events of the sample space $S$ and if $P(A_i)\neq 0$, $i=1,2,\cdots,n$, then for any event $B$ of the sample space $S$

$$\begin{equation*} P(A_i/B) =\frac{P(A_i) A(B/A_i)}{\sum_{i=1}^n P(A_i) A(B/A_i)} \end{equation*}$$ for $i=1,2,\cdots , n$.

Suggestions and comments will be appreciated.