Nepedia
Back to Discover
Advanced Reader
🔢

Posterior probability

math Maturity 11-13 Next article →

Posterior probability is a specific type of conditional probability. It represents the updated belief about an uncertain proposition after new evidence is considered. This proposition could be a scientific hypothesis or specific parameter values. From an epistemological perspective, the posterior probability contains all available knowledge about a subject. This knowledge combines your prior knowledge with a mathematical model of current observations. It is a central tool in the field of Bayesian statistics.

The mechanism for finding this probability relies on Bayes' rule. This rule allows you to update a prior probability using a likelihood. The likelihood is the probability of the evidence given certain parameters. To calculate the posterior, you multiply the prior probability by the likelihood. You must then divide this product by a normalizing constant. This constant, denoted as $P(D)$, ensures the total probability is balanced. For continuous variables, this involves an integral. For discrete variables, you sum over all possible values.

In Bayesian statistics, we often work with a posterior probability distribution. This distribution describes the epistemic uncertainty regarding statistical parameters. It is conditioned on a specific collection of observed data. Because these distributions can be complex, they are often not tractable. This means they cannot be solved easily with simple math. Instead, scientists must use analytical or numerical approximations. They may derive point estimates like the maximum a posteriori, or MAP. They can also find the highest posterior density interval, known as the HPDI.

A helpful way to visualize this is through a school example. Imagine a school where 60% of students are boys and 40% are girls. All boys wear trousers, but girls wear trousers or skirts in equal numbers. If an observer sees a student in trousers from a distance, they have new evidence. The prior probability of the student being a girl is 0.4. The likelihood of a girl wearing trousers is 0.5. The likelihood of a boy wearing trousers is 1.0. By applying Bayes' theorem, we find the posterior probability is 0.25.

Another way to solve this is by using a population of $N$ students. In this group, there are $0.6N$ boys and $0.4N$ girls. Since girls wear trousers 50% of the time, there are $0.2N$ girls in trousers. All $0.6N$ boys are also wearing trousers. The total number of trouser wearers is $0.6N + 0.2N$, which equals $0.8N$. To find the probability, you divide the girl trouser wearers by the total. That is $0.2N$ divided by $0.8N$, which equals 25%. This confirms the result of our previous calculation.

Posterior probability is also a random variable because it is conditioned on observed data. Because it is a random variable, we must summarize its uncertainty. One method used for this is the credible interval. This provides a range of values where the parameter likely sits. In the field of classification, posterior probabilities show uncertainty in assigning observations to classes. This is also called class-membership probability. While machine learning often provides membership values, these do not always show probabilistic confidence.

This mathematical process creates a continuous loop of learning. Once you calculate a new posterior probability, it can become the prior for the next step. This allows for repeated Bayesian updating as more information arrives. This connection makes the system highly adaptable to new data. It links the study of probability to broader fields like machine learning and scientific inquiry. By constantly updating our models, we move closer to understanding uncertain truths.

582 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.