Log in Sign up
Back to Discover
🔢

Bayesian inference

math Maturity 11-13

You can learn from what you see.

Ebits2c.png
Ebits2c.png
You start with what you think. Then you look for new clues. The new clues change your mind. This helps you know more. It is like being a detective. Can you find new clues today?

43 words

You can learn from what you see.

Ebits2c.png
Ebits2c.png
You start with an idea. This is what you think is true first. Then you look for new clues. These clues are called evidence. The new clues change your mind.
Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg
This helps you know more. It is like being a detective. You use what you know to find out more. People use this in science and medicine. It even helps in sports. This way of learning keeps getting better with more facts.

84 words

Imagine you are a detective. You start with an idea about a mystery. This first idea is called a prior. It is what you believe before you see new clues.

Ebits2c.png
Ebits2c.png

Next, you look for new facts. These facts are called evidence. You must see how well the facts fit your idea. This fit is called the likelihood.

Bayes theorem visualisation.svg
Bayes theorem visualisation.svg

Now you can update your belief. You combine your first idea with the new clues. This new, better idea is called the posterior.

Bayesian inference event space.svg
Bayesian inference event space.svg

If you find even more clues, you can do it again. You use your new idea as the starting point. This way of learning helps you get closer to the truth.

Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg

Many people use this math. It helps doctors in medicine. It helps experts in science and law. It even helps people study sports. It is a powerful way to change your mind when you learn something new.

160 words

Bayesian inference is a smart way to use math to change your mind. It helps people figure out how likely an idea is when they get new information. Imagine you have a guess about a mystery. This guess is your starting point. As you find new clues, you update that guess to make it better. This method is very important in many fields. It is used in science, engineering, and medicine. It even helps people in law and sports.

Ebits2c.png
Ebits2c.png

This math works using three main parts. The first part is called the prior. The prior is your estimate of how likely an idea is before you see any new data. The second part is the likelihood. The likelihood shows how well the new evidence fits your idea. The third part is the posterior. The posterior is the new, updated probability after you combine your prior with the new evidence. You can think of it as: posterior is proportional to likelihood times prior.

Bayes theorem visualisation.svg
Bayes theorem visualisation.svg

This way of thinking is named after a man named Thomas Bayes. He created the math known as Bayes' theorem. The theorem uses a formula to connect these different parts. It helps us see how much new evidence should change our old beliefs. If the new evidence is very compatible with your idea, your belief grows stronger. If the evidence does not fit, your belief becomes weaker. This process can be repeated many times as more data arrives.

Bayesian inference event space.svg
Bayesian inference event space.svg

Mathematicians use specific tools to make this work. One tool is called a marginal likelihood. This is also known as model evidence. It measures how much the data and your expert opinion agree. If this value is zero, the math cannot be applied. Another important name is Kolmogorov. In his 1933 book, he showed why conditional probability is so vital. This is the study of how one event affects the chance of another.

Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg

Bayesian inference is different from other ways of doing statistics. Some people use a method called frequentist statistics. Frequentists often look for one single best answer instead of a range of possibilities. Bayesian math is special because it looks at the whole range of uncertainty. This helps people make better predictions about things that have not happened yet. It is a continuous way of learning from the world around us.

Ebits2c.png
Ebits2c.png

396 words

Bayesian inference is a powerful method of statistical inference. It uses Bayes' theorem to calculate the probability of a hypothesis. This calculation happens after considering prior evidence. The method allows researchers to update these probabilities as new information becomes available. It is a fundamental technique in mathematical statistics. This approach is essential for the dynamic analysis of data sequences. Bayesian inference applies to many fields. These include science, engineering, philosophy, medicine, sport, psychology, and law. In decision theory, it is closely linked to subjective probability. This is often called Bayesian probability.

Bayes theorem visualisation.svg
Bayes theorem visualisation.svg

The mechanism of Bayesian inference relies on two main components. The first component is the prior probability. This is the estimate of a hypothesis before any new data is observed. The second component is the likelihood function. This function is derived from a statistical model for the observed data. The likelihood shows how compatible the new evidence is with a specific hypothesis. By combining these, we find the posterior probability. This is the updated probability of the hypothesis after the evidence is seen. The posterior is proportional to the product of the prior and the likelihood. This relationship is expressed as: posterior is proportional to likelihood times prior.

Bayesian inference event space.svg
Bayesian inference event space.svg

There are several distinct parts within the formal mathematical description. The prior distribution is the belief held before seeing data. If the prior is unknown, researchers might use a Jeffreys prior. The likelihood, or sampling distribution, describes the observed data given certain parameters. The marginal likelihood is also called the model evidence. This factor represents the agreement between the data and expert opinion. It is the same for all hypotheses being considered. If the marginal likelihood is zero, the rule cannot be applied. The posterior distribution is the final result after the update. It represents the distribution of parameters after accounting for the data.

Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg

History shows the importance of formalizing these probabilistic ideas. In 1933, Andrey Kolmogorov published a famous book. He emphasized the importance of conditional probability and conditional expectations. His work provided a rigorous foundation for these concepts. Modern developments have also changed how we use these rules. Markov chain Monte Carlo methods have increased the importance of Bayes' theorem. These methods help handle complex cases, including those with improper priors. These tools allow mathematicians to solve problems that were once too difficult for manual calculation.

Ebits2c.png
Ebits2c.png

Bayesian inference is particularly useful for making predictions. This is done through the posterior predictive distribution. This distribution represents a new data point after marginalizing over the posterior. It provides a distribution of possible points rather than a single fixed value. This differs from frequentist statistics. Frequentists often seek a single optimum point estimate. They might use maximum likelihood or maximum a posteriori estimation. However, point estimates can underestimate uncertainty. Bayesian prediction accounts for the entire range of uncertainty in the parameter. This leads to a more complete view of possible outcomes.

Ebits2c.png
Ebits2c.png

When dealing with many possibilities, the math can become complex. If evidence is used to update beliefs over exclusive and exhaustive propositions, it acts on the entire distribution. This is useful when a process generates independent and identically distributed events. If the probability distribution is unknown, the event space represents the current belief. Each model is represented by a specific event. As new observations arrive, the prior is updated to a new posterior. This process can be repeated many times. Repeated application of this update is equivalent to a single step of inference. This allows for continuous learning from a sequence of data.

Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg

Finally, Bayesian inference connects deeply to broader mathematical structures. It can be expressed through parametric formulations. By parameterizing the space of models, beliefs can be updated in a single step. This turns the belief over models into a distribution over a parameter space. The technique works for both discrete and continuous distributions. In complex machine learning models, the posterior often lacks a closed form. This happens because the parameter space can be very high. In these cases, researchers must use approximation techniques. This ensures that the math remains useful even in highly complex systems.

693 words
🖼️ Images & Media (4)
File:Bayes theorem visualisation.svg
Bayes theorem visualisation.svg
File:Bayesian inference event space.svg
Bayesian inference event space.svg
File:Bayesian inference archaeology example.jpg
Bayesian inference archaeology example.jpg
File:Ebits2c.png
Ebits2c.png
Up Next
🔢
Bayesian statistics
Math
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.