Quoto

Courses / Inference and estimation

Maximum likelihood estimation

10 cards3 min readStatistics

Card 1 of 10
  1. 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
  2. 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
  3. Formula: Log likelihood

    Add the log chance of each observation. The peak of this sum is the estimate.

  4. 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.

    1. The slope is zero at
    2. per minute
  5. 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
  6. 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 .

  7. Common mistake: Expecting no bias

    The variance estimate divides by and runs low: .

    Instead For an unbiased one divide by : instead of .

  8. Formula: Invariance

    Transform the estimate, not the derivation: wins of give and odds .

  9. 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.

  10. 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