The parameters that make the data most likely
Suppose you believe the data come from a family of distributions with an unknown parameter (the mean and variance of a normal, the rate of a Poisson). The likelihood is the probability, as a function of , of the data you actually saw. Maximum likelihood estimation picks the that makes the observed data most probable. It is the workhorse behind regression, volatility models and most of machine learning.
In practice you maximise the log-likelihood : a product of many small numbers underflows and is awkward to differentiate, while the sum of logs is stable and has the same maximiser, because the logarithm is increasing. Setting the derivative to zero gives closed forms for the standard cases. For a Poisson sample . For a Bernoulli sample is the proportion of successes. For a normal sample and , dividing by rather than , which makes the variance estimate slightly too small in small samples.
- Likelihood: the probability of the observed data as a function of the parameter.
- MLE: the parameter that maximises it; maximise the log-likelihood for stability.
- Properties: consistent and asymptotically normal under mild conditions, but not always unbiased in small samples.
Maximum likelihood finds the best parameters inside the family you chose. If daily returns are fat-tailed and you fit a normal, you get the best normal, and its variance will still understate crash risk. Compare the fitted model with the data (tail counts, histograms) before trusting it, and consider a heavier-tailed family such as the Student-.
Lab · what's graded
7 tasks · 100 pts- A Poisson rate10 pts
- A normal variance15 pts
- A win rate10 pts
- A log-likelihood15 pts
- What MLE does15 pts
- Properties of the MLE15 pts
- Why maximise the log-likelihood20 pts