One of the most significant developments in the probability field has been the development of Bayesian decision theory which has proved to be of immense help in making decisions under uncertain conditions. The Bayes Theorem was developed by a British Mathematician Rev. Thomas Bayes. The probability given under Bayes theorem is also known by the name of inverse probability, posterior probability or revised probability. This theorem finds the probability of an event by considering the given sample information; hence the name posterior probability. The bayes theorem is based on the formula of conditional probability.
conditional probability of event ${A_1}$ given event ${B}$ is
Similarly probability of event ${A_1}$ given event ${B}$ is
Where
Hence the general form of Bayes Theorem is
Where ${A_1}$, ${A_2}$...${A_i}$...${A_n}$ are set of n mutually exclusive and exhaustive events.