## What is Posterior Probability?

The posterior probability refers to a method based on the Bayesian interpretation of probability. The method involves the calculation of new probability by updating the prior probability in response to the new evidence. In essence, it is an application of Bayes’ theorem.

Applying Bayes’ theorem, the existing probability of an event becomes a prior probability (before observing the evidence) when new evidence comes into the observation. The updated probability (probability based on observed evidence) is derived by applying the likelihood of evidence to the prior probability.

##### Table of contents

### Key Takeaways

- The posterior probability refers to the updated probability of an event obtained by applying the new evidence formed. Its basics are underpinned by conditional probability and Bayes’ theorem.
- The formula for calculations is P(A|B) = P(B|A)*P(A)/P(B)
- The important elements are prior probability P(A), evidence P(B), P(B|A) is the likelihood function.
- As new evidence emerges and is integrated into the computation, a posterior probability might become a prior for a new updated posterior probability.

### Posterior Probability Explained

The posterior probability is an important tool in representing the uncertainty of specific events. It considers all evidence available, and when it considers the latest information to recalculate the existing probability to get the new one and discard the prior one, it reveals that its basics are underpinned by the concept of conditional probabilityConditional ProbabilityConditional probability refers to the chances of a particular event occurring, provided another event has previously occurred. It is widely applicable in many areas, including business risk management, insurance, personal life, calculus, politics, etc., helping individuals and entities identify possible outcomes and make practical decisions accordingly. read more determined by the Bayes’ theorem. The revised probability depends on a second or new event’s conditional and unconditional probability.

It is comparable to the human thought process. People’s choices and conclusions are always sensitive to new information, experience, or intuitions. It is a deliberate procedure that thoroughly considers the numerous ways an event may or may not occur. In this approach, people’s judgments concerning random outcomes are correctly influenced by posterior facts during ambiguous environments. Hence, this technique is important in finance, data science, medicine, etc.

###### Financial Modeling & Valuation Courses Bundle (25+ Hours Video Series)

**–>>** If you want to learn Financial Modeling & Valuation professionally , then do check this Financial Modeling & Valuation Course Bundle (**25+ hours of video tutorials with step by step McDonald’s Financial Model**). Unlock the art of financial modeling and valuation with a comprehensive course covering McDonald’s forecast methodologies, advanced valuation techniques, and financial statements.

### Formula

The Bayes theorem posterior probability formula is:

You are free to use this image on your website, templates, etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked

For eg:

Source: Posterior Probability (wallstreetmojo.com)

Where:

- P(A|B) = The probability of event A occurring, provided the evidence B (posterior probability)
- P(A) = Probability of event A occurring (prior probability)
- P(B) = Probability of event B occurring (evidence or marginal likelihood)
- P(B|A) = The probability of event B occurring, provided the evidence A (likelihood function)
- “|” means “provided”

### Calculation Example

Imagine a box having 50% dark chocolates and 50% white chocolates. Half of the dark chocolate is wrapped in gold paper and another half in silver paper. All the white chocolates are wrapped in silver paper. A kid picked chocolate from the box, wrapped in silver paper. What is the probability that the picked one is dark chocolate?

- The event D is that the picked chocolate is dark.
- The event S is that the picked chocolate is wrapped in silver paper.

According to variational Bayesian methods:

- Posterior probability
**:**P(dark chocolate|silver wrapping): P(D|S): It is the probability that the chocolate picked is “dark chocolate,” given the evidence of “chocolate wrapped in silver paper.” - Likelihood function: P(silver wrapping|dark chocolate): P(S|D): The probability of the evidence given the parameter; the probability of silver wrapping given the chocolate type is dark chocolate.
- P(D): The probability that the selected chocolate is “dark chocolate” given no prior information. The probability P(D) is 50%, 0.5.
- P(W): The probability that the selected chocolate is “white chocolate” given no prior information. The probability P(W) is 50%, 0.5.
- P(S|D): The probability of chocolate wrapped in silver paper and given that it is dark chocolate is 0.5 (50% of dark chocolate is covered in gold paper and the remaining 50% in silver paper).
- P(S|W): The probability of chocolate wrapped in silver paper and given that it is white chocolate is 1 (since all white chocolates are wrapped in silver paper).
- P(S): Probability of randomly picked chocolate is wrapped in silver paper given no prior information.
- P(S): Probability of randomly picked chocolate is wrapped in silver paper given no prior information.

P(S)= P(S|D).P(D) + P(S|W).P(W)

=0.5*0.5 + 1*0.5

=0.75

Applying the above findings into the formula to calculate posterior probability:

- P(D|S)= P(S|D)*P(D)|P(S)

=0.5*0.5|0.75

=0.3333

=33.33%

Hence the probability of random chocolate selected is “dark chocolate,” with the evidence that the chocolate wrapping is silver in color is derived as 33.33%. Academics also uses posterior probability calculators to get quick results.

### Frequently Asked Questions (FAQs)

**What is a posterior probability?**It refers to the probability derived by updating the prior probability in the presence of new evidence. It is based on the Bayes theorem.

**What is the posterior probability formula?**In simple terms, it is the probability after the addition of new evidence.

The formula is the application of the Bayes theorem:

P(A|B)= P(B|A).P(A)/P(B)

Where P(A|B)= the probability of event A occurring, provided the evidence B (posterior probability), P(A) = probability of event A occurring (prior probability), P(B) = probability of event B occurring (evidence), P(B|A) = the probability of event B occurring, provided the evidence A (likelihood function), and “|” means “provided.”

**What is a posterior probability example?**Consider a group of people with 50% of them are employed (P(E)=.5) and 40% Women (P(W)=.4). Given that she is employed, the conditional probability of the selected individual being a woman is 20% (P(W|E) =.2). What is the probability that a person selected from the group is employed, given the person selected is a woman (P(E|W) =?).

P(E|W) = P(W|E) P(E)|P(W)

=0.20.5|0.4

=0.25

=25%

### Recommended Articles

This has been a Guide to What is a Posterior Probability in Bayesian Statistics. We explain the formula to calculate posterior probability. You may also have a look at the following articles to learn more –

## Leave a Reply