# Conditional Probability

## Introduction

edit**Conditional Probability**, in probability theory, measures the chance of the occurrence of an event given (or based upon assumption) that another event has already happened.

## Bayes' Theorem

editNamed after Thomas Bayes, Bayes' Theorem calculates conditional probability by using known related probability variables. Specifically, the theorem states that the probability of event A occurring given that event B has already occurred is equal to the probability of event A multiplied by the probability of event B occurring given that event A has occurred divided by the probability of event B.

for A and B are events; .

### Proof of Theorem

editThe general conditional probability proof uses the probability of both events A and B occurring and divides it by its condition, event B, i.e. the intersection of events A and B scaled by the known variable event B (events A and B are dependent).

for A and B are events; .

for A and B are events; .

Therefore,

for A and B are events; .

for A and B are events; .

The two equations can be substituted back into the two on top, which will result in Bayes' Theorem.

### Application

editBayes' Theorem is prominent in scientific discovery and machine learning. It allows conditional probabilities to accommodate new evidence in that new evidence will further restrict the prior hypothesis. The theorem will also account for the varying levels of influence the new evidence will have on events A and B respectively.