Log in Sign up
Back to Discover
🔢

Likelihood function

math Maturity 11-13

We can use clues to guess things. Imagine you flip a coin. You see it land on heads. This clue helps you guess the truth. It tells us how well a guess fits. It helps us learn from what we see. Can you find clues in your day?

likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png

49 words

We can use clues to guess the truth.

likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png
Imagine you flip a coin. You see it land on heads twice. This is a clue. A clue tells us how well a guess fits. We can test different guesses for the coin. Some guesses fit the clues better than others. One guess might be that the coin is fair. Another guess might be that it is not fair. We look for the best fit. This helps us learn from what we see.
likelihoodFunctionAfterHHT.png
likelihoodFunctionAfterHHT.png
It is a way to measure our clues.

91 words

How well does a guess fit what we see? We can use math to find out. This tool is called a likelihood function.

likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png
Imagine you flip a coin two times. It lands on heads both times. This is your data. Now, you make a guess about the coin. You might guess the coin is fair. A fair coin has a fifty percent chance of heads. But you could also guess the coin is not fair. The likelihood function measures how well each guess explains your data. It calculates the probability of seeing your results for different guesses.
likelihoodFunctionAfterHHT.png
likelihoodFunctionAfterHHT.png
If you flip the coin three times and get heads every time, the math changes. We call the best guess the maximum likelihood estimate. This is the guess that makes the data most likely to happen. Scientists use this to find unknown values. They can also use a likelihood ratio. This compares two different guesses to see which one is better. It helps us decide which idea fits our clues best.

170 words

Have you ever tried to guess why something happened? Imagine you find a trail of wet footprints in your kitchen. You might guess a dog ran inside. Or, you might guess a person with a wet umbrella walked in. A likelihood function is a math tool that helps you test these guesses. It measures how well a specific idea explains the clues you see. Instead of just guessing, you use math to see which idea makes your clues most likely to happen.

likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png
This tool is very important for scientists and researchers.

To understand how it works, let's look at a coin flip. Suppose you flip a coin twice and it lands on heads both times. This result is your data. You want to know if the coin is fair. A fair coin has a fifty percent chance of landing on heads. However, the coin might be weighted to land on heads more often. The likelihood function looks at every possible chance for heads, from zero to one. It calculates how likely your two heads would be for every single chance.

likelihoodFunctionAfterHHT.png
likelihoodFunctionAfterHHT.png
It turns your data into a way to test your ideas.

In math, we often look for the best possible guess. This is called maximum likelihood estimation. We look for the point where the likelihood function is at its highest. This peak is the guess that best explains what we saw. For example, if you see many heads, the peak will be near a high chance for heads. We can also use something called Fisher information to see how precise our guess is. This tells us if our estimate is very solid or just a lucky guess. It helps scientists feel more confident in their answers.

There are different ways to use this math. Some people use a frequentist approach to find a single best value. Others use Bayesian statistics to find a posterior probability. This is a different way of looking at the chance that a guess is true. There is also a tool called a likelihood ratio. This compares two different guesses to see which one is stronger. It is like a race between two ideas to see which one fits the data better. Scientists use these ratios to make important decisions in many fields.

Math like this connects to many things you already know. You use similar logic when you play detective in a mystery book. If you see a broken window and a baseball on the floor, you connect the clues. The likelihood of a baseball breaking the window is higher than a bird doing it. The likelihood function just puts numbers to those connections. It helps us move from simple clues to real scientific facts. It is a way to turn wonder into certain knowledge.

462 words

A likelihood function is a mathematical tool used to evaluate statistical models. It measures how well a specific model explains observed data. It does this by calculating the probability of seeing that data under different possible values for the model's parameters. In statistics, a parameter is a value that defines a specific characteristic of a model. For example, a parameter might represent the fairness of a coin. By testing many different parameter values, scientists can determine which one makes the observed results most plausible.

likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png

The mechanism of the likelihood function depends on the type of data being analyzed. It is constructed from the joint probability distribution of the random variables that generated the observations. When we evaluate the function using actual data points, the data becomes fixed. The function then becomes a function solely of the model parameters. For discrete distributions, we use a probability mass function. For continuous distributions, we use a probability density function. In both cases, the likelihood function treats the observed data as a fixed reality and varies the parameters to see which fit best.

There are two main ways to treat these parameters: discrete and continuous. In a discrete distribution, the parameter might represent a specific count or a fixed outcome. The likelihood is the probability that a particular outcome is observed when the true parameter value is a certain amount. In a continuous distribution, the parameter can take any value within a range. Here, the likelihood is defined using a probability density function. While a probability density function tells us about the likelihood of random variables, the likelihood function tells us about the likelihood of the parameters themselves.

likelihoodFunctionAfterHHT.png
likelihoodFunctionAfterHHT.png

History and different mathematical schools of thought have shaped how we use this tool. In the frequentist paradigm, researchers often use the likelihood to find a single best estimate. This process is called maximum likelihood estimation. In this method, the parameter that maximizes the likelihood function serves as a point estimate. Conversely, Bayesian statistics takes a different approach. Instead of looking for one single value, Bayesian researchers look for the posterior probability. This is the probability of the parameter being true given the observed data. They calculate this using Bayes' rule, which connects the likelihood to prior knowledge.

Maximum likelihood estimation relies on specific mathematical requirements called regularity conditions. For an estimate to exist, the likelihood function usually needs to be continuous on a compact parameter space. This means the range of possible values must be closed and bounded. If the function is twice continuously differentiable, mathematicians can use the Hessian matrix to find the maximum. This matrix of second partial derivatives helps identify the peak of the function. Furthermore, the Fisher information can be approximated by this Hessian matrix. This value provides an indication of the precision of the estimate, telling researchers how certain they can be about their result.

A key concept in comparing different ideas is the likelihood ratio. This is the ratio of any two specified likelihoods. It is a central part of likelihoodist statistics, which follows the law of likelihood. This law states that the degree to which data supports one parameter value over another is measured by this ratio. In frequentist inference, this ratio forms the basis for the likelihood-ratio test. This test is considered the most powerful way to compare two simple hypotheses at a given significance level. In Bayesian inference, this ratio is known as the Bayes factor. It is used to update the odds of one theory against another.

The likelihood function connects to many advanced mathematical and scientific fields. In measure-theoretic probability theory, the density function is defined as the Radon–Nikodym derivative. This allows scientists to construct likelihood functions for many types of distributions, including mixed continuous-discrete distributions. In medicine, likelihood ratios are used in diagnostic testing to assess the value of a medical test. In pure mathematics, theorems like Wilks' theorem describe the distribution of the log-likelihood ratio. These connections show that the likelihood function is not just a simple calculation, but a fundamental pillar of modern scientific reasoning.

676 words
🖼️ Images & Media (2)
File:likelihoodFunctionAfterHH.png
likelihoodFunctionAfterHH.png
File:likelihoodFunctionAfterHHT.png
likelihoodFunctionAfterHHT.png
Up Next
🔢
Maximum likelihood estimation
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.