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 L(θ)=∏if(xi;θ) 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 λ^=xˉ. For a Bernoulli sample p^ is the proportion of successes. For a normal sample μ^=xˉ and σ^2=n1∑(xi−xˉ)2, dividing by n rather than n−1, which makes the variance estimate slightly too small in small samples.
Three quick maximum likelihood estimatesTrade counts per minute of 2,4,3,3 give a Poisson rate λ^=12/4=3. Twelve winning trades out of 40 give p^=12/40=0.3, whose log-likelihood is 12ln0.3+28ln0.7≈−24.435; any other p gives a lower value. For 1,2,3,4,5 the normal MLE is μ^=3 and σ^2=10/5=2, while the unbiased sample variance is 10/4=2.5: the MLE is slightly smaller, and the difference fades as n grows.
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.
A good fit to the wrong model is still wrongMaximum 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-t.
Lab · what's graded
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
0/ 7 answered
1Numeric answer10 ptsNot answered
Trade counts in four minutes are 2, 4, 3 and 3. What is the maximum likelihood estimate of the Poisson rate?
λ^=accepted: ± 0.001
2Numeric answer15 ptsNot answered
For the sample 1, 2, 3, 4, 5, what is the maximum likelihood estimate of the normal variance (divide by n)?
σ^2=accepted: ± 0.001
3Numeric answer10 ptsNot answered
12 of 40 trades won. What is the maximum likelihood estimate of the win probability?
p^=accepted: ± 0.001
4Numeric answer15 ptsNot answered
Evaluate the log-likelihood 12 ln(p) + 28 ln(1 - p) at p = 0.3 (natural logarithm). Give it to three decimals.
ℓ=accepted: ± 0.01
5Choice15 ptsNot answered
What does maximum likelihood estimation choose?
6Choice15 ptsNot answered
Select every true statement.
7Explain in words20 ptsNot answered
In two sentences, say why we maximise the log-likelihood instead of the likelihood.
Math modeKeyboard or LaTeX inputTask 1 of 7 · Ctrl ⏎ to check