Idea: The model read backwards
Fix the data you saw and read as a function of . That is the likelihood .
- It is not a probability of
- It need not add up to across
- The estimate makes your data most probable
Idea: The recipe
Independent data multiply, so take logs: the sum peaks at the same .
- Write and differentiate
- Set the slope to zero
- Check that the second derivative is negative
Formula: Log likelihood
Add the log chance of each observation. The peak of this sum is the estimate.
Example: The pooled order rate
Orders arrive at a steady random rate: in a minute window, in a minute one. Find the maximum likelihood rate.
- The slope is zero at
- per minute
Idea: Pool, do not average rates
Averaging the window rates gives : a short window gets the same vote as a long one.
- A longer window carries more evidence
- Check: orders, as observed
Quick check: A variance estimate
Daily returns , and come from a normal law. What is the maximum likelihood variance ?
Show the answer
Answer:
Mean , squared deviations , divided by .
Common mistake: Expecting no bias
The variance estimate divides by and runs low: .
Instead For an unbiased one divide by : instead of .
Formula: Invariance
Transform the estimate, not the derivation: wins of give and odds .
Common mistake: Trusting large-sample promises
Consistency and a normal limit need a right model, a data range free of and off the edge.
Instead Under the estimate is : no zero slope, and it always runs low.
Idea: Say it in the room
Write the likelihood first: it forces you to state the model.
- Logs, slope, second derivative, then numbers
- Finish with a units or extreme-case check
Courses / Inference and estimation