Skip to main content

Likelihood Function

The likelihood function is a function of the unknown parameter(s) that tells you how well a probability model fits observed data. In Intro to Probability, you use it to compare parameter values and pick the ones that make the sample most plausible.

Last updated July 2026•Fiveable Content Team

What is the Likelihood Function?

The likelihood function is the way Intro to Probability turns observed data into evidence about an unknown parameter. You start with the data as fixed, then ask: if the parameter had this value, how plausible would these observations be?

That setup is the part people mix up most. A probability model usually treats the parameter as fixed and the data as random. Likelihood flips the viewpoint, so the data are what you have and the parameter is what you are trying to learn. The formula often looks like a probability or density expression, but once you plug in the observed values, it becomes a function of the parameter only.

For a discrete model, likelihood is just the probability of the exact sample under a chosen parameter value. If you observed several independent outcomes, you multiply their probabilities together. For a continuous model, you use the probability density function in the same way, even though the density itself is not a probability. The comparison across parameter values is what matters.

A simple example is a coin with unknown heads probability p. If you flip it 10 times and get 8 heads, the likelihood function assigns a score to each possible p between 0 and 1. Values near 0.8 will usually fit better than values near 0.2, because they make 8 heads in 10 flips more plausible. The peak of that curve is the maximum likelihood estimate.

One common mistake is saying the likelihood function is the probability of the parameter. It is not. It does not tell you how likely p is in the abstract, only how well each p explains the fixed data you saw. That distinction is a big part of statistical inference, where you move from sample results to a reasonable estimate of the underlying model.

Why the Likelihood Function matters in Intro to Probability

Likelihood function is the bridge between probability calculations and parameter estimation in Intro to Probability. Once you know the sample data, likelihood lets you compare competing parameter values in a clean mathematical way instead of just guessing which one seems best.

This shows up right away in statistical inference, where the whole goal is to use a sample to say something about a larger process. If your data could have come from many possible models, the likelihood function helps rank those models by how well they match the sample. That is why it sits right next to statistical model, maximum likelihood estimation, and consistency.

It also gives you a better feel for what the data are saying. A sharp likelihood curve means the sample strongly favors a narrow range of parameter values. A flatter curve means several values fit about equally well, which often happens with small samples or noisy data. That connects directly to standard error, sample size, and how precise an estimate is.

In problems, likelihood is often the hidden logic behind choosing an estimator, checking whether a model fits, or comparing two parameter settings. Once you can read it correctly, you are not just computing formulas. You are interpreting evidence from the sample.

Keep studying Intro to Probability Unit 15

Official unit cheatsheet

open one-pager

How the Likelihood Function connects across the course

Maximum Likelihood Estimation

Maximum Likelihood Estimation is the method built around the likelihood function. You find the parameter value that makes the observed data most plausible, then use that value as your estimate. In practice, the likelihood function gives you the curve, and MLE picks the peak. If you can read the likelihood, MLE becomes a lot less mysterious.

Statistical Model

A statistical model tells you what distribution or process you think generated the data. The likelihood function comes from that model after you plug in the observed sample. Different models can produce different likelihoods for the same data, so model choice affects what parameter values look reasonable.

Probability Density Function

For continuous data, the likelihood function is built from the probability density function. The density is not a probability by itself, but it gives the formula you evaluate at the observed data points. That is why a density peak can lead to a high likelihood for certain parameter values.

Consistency

Consistency asks whether an estimator gets closer to the true parameter as sample size grows. Likelihood matters here because many estimators built from it, especially MLEs, behave well with larger samples. If the likelihood is very flat, though, a small sample may not pin down the parameter very tightly.

Is the Likelihood Function on the Intro to Probability exam?

A quiz or problem set will usually give you a distribution, a sample, and an unknown parameter, then ask you to write or compare the likelihood function. Your job is to treat the observed data as fixed and see which parameter values make that data most plausible. For a binomial setup, that often means multiplying the probabilities of the observed successes and failures. For a continuous model, you use the density at the observed value(s), not a probability of an interval unless the question asks for one.

You may also be asked to identify the maximum likelihood estimate from a graph or from a short algebraic expression. The common trap is swapping probability and likelihood, so check which variable is being treated as random. If the data are fixed and the parameter changes, you are in likelihood land.

The Likelihood Function vs Probability Density Function

A probability density function describes how a continuous random variable is distributed for a fixed parameter. A likelihood function uses that same formula, but now the data are fixed and the parameter is the variable. So the algebra can look almost identical, but the interpretation changes completely.

Key things to remember about the Likelihood Function

  • The likelihood function measures how well different parameter values explain the observed data.

  • In Intro to Probability, it flips the usual probability setup by treating the data as fixed and the parameter as unknown.

  • You use the likelihood function to compare parameter values, not to find the probability of the parameter itself.

  • Maximum Likelihood Estimation picks the parameter value that makes the observed data most plausible.

  • A narrow likelihood curve suggests stronger evidence for a small range of values, while a flatter curve suggests more uncertainty.

Frequently asked questions about the Likelihood Function

What is likelihood function in Intro to Probability?

It is a function of the unknown parameter that measures how plausible the observed data are under different parameter values. You keep the data fixed and vary the parameter to see which setting fits best. That makes it a core tool for statistical inference and estimation.

Is likelihood the same as probability?

No. Probability treats the parameter as fixed and the data as random, while likelihood treats the data as fixed and the parameter as the thing you vary. The formula may look similar, but the interpretation is different. That is the main source of confusion.

How do you calculate a likelihood function?

You start with the probability mass function or probability density function from the model, then plug in the observed data values. If there are multiple independent observations, you multiply the corresponding probabilities or densities. The result is an expression in the parameter only.

Why does likelihood matter for Maximum Likelihood Estimation?

MLE uses the likelihood function to choose the parameter value that best explains the data. The estimate is the point where the likelihood is largest. If you can interpret the shape of the likelihood, you can usually understand why one estimate is preferred over another.