Nepedia
Back to Discover
Fluent Reader
🔢

Posterior probability

math Maturity 11-13 Next article →

Imagine you are trying to solve a mystery. You start with what you already know about the world. This starting knowledge is called a prior probability. Then, you see something new that gives you more clues. This new clue is called the likelihood. When you combine your old knowledge with the new clue, you get a new answer. This updated answer is called the posterior probability. It helps you understand how much you can truly know about a mystery.

This math works like a way of updating your brain. You take your first guess and change it using new evidence. You use a special rule called Bayes' rule to do this. This rule says the posterior probability is proportional to the likelihood times the prior. To get the final answer, you also divide by a normalizing constant. This constant helps make sure the math stays balanced. Scientists use this to describe how much uncertainty they have about a scientific idea.

Math thinkers use these ideas to study uncertainty. In a field called Bayesian statistics, people look at many possible answers at once. This collection of answers is called a posterior probability distribution. Sometimes, the math is very hard to solve perfectly. People must use approximations to find the right path. They might look for a specific point called the maximum a posteriori. They can also look for a range called the highest posterior density interval.

Let us look at a school to see this in action. In this school, 40% of the students are girls. This means the prior probability for a girl is 0.4. All boys wear trousers, but girls wear them only half the time. If you see a student in trousers, you have a new clue. You can use the math to find the new chance. In this specific school, the chance that the student is a girl is 25%. This shows how one clue changes your guess.

This way of thinking is useful in many places. In machine learning, it helps computers sort things into different groups. This is called classification. It helps show how sure a computer is about its choice. You can even use your new answer as a starting point for more learning. Your new posterior probability can become the next prior probability. This allows you to keep adding new information to your knowledge over and over again.

396 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.