Skip to content
Tactiverge

Learning Rooms/✦ Level 5 · Research Engineer/Mathematics

Maximum Likelihood, clearly explained!!!

StatQuest with Josh Starmer · Length: see YouTube · captions on YouTube · nothing loads until you press play

By the end you can…

  • Write a likelihood function from a probability model and data.
  • Find a maximum-likelihood estimate by maximising the log-likelihood.
  • Connect MLE under Gaussian noise to least squares.
?Predict▶Watch✓Practise⚙Build

Watch it all: no segment has been checked by hand for this video yet.

1.Predict before you press play

A camera sees the landmark 7 times in 10 attempts (binomial). What is the maximum-likelihood estimate of p?

Pick one before you press play. A wrong guess is fine: it is what makes the video stick.

2.See the idea first

Play with this diagram for a minute. It gives you something to hang the video on.

Loading the interactive…

Can't use the diagram? Read a description instead

With a flat prior, the grid's posterior bars are the normalised likelihood; the readout states the peak value and k/n, which match. All values appear in the text readout.

3.Watch, actively

Explains maximum likelihood by sliding a distribution along the data until the observations look most probable.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Watch for…

  • → Watch the curve slide along the data: the best position is where the observed points are most probable.

Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.

Can't stream it? Read the idea instead

Maximum likelihood picks the parameter values that make the data you actually observed most probable. For normally distributed data the best estimate of the mean is the sample average; for other models you maximise the likelihood numerically.

What the video covers (our own note, written when we verified it): Explains maximum likelihood by sliding a distribution along the data until the observations look most probable.

Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.

Read it instead

Jot down one thing that surprised you and one question you still have.

Private: saved only on this device, never sent to Tactiverge.

4.Practise what you just saw

These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.

Practice 1 · a fresh version every time

A micrometeoroid detector on a probe records k = 12 impacts in T = 12 hours. Assuming a Poisson process with rate λ, what is the maximum-likelihood estimate of λ, in impacts per hour?

per hour

Practice 2

Least squares is the maximum-likelihood fit when the measurement noise is…

Practice 3

Which is true of the likelihood L(θ)?

Practice 4

A detector records 50 events in 200 s. Using SE ≈ √(λ̂/T), what is the standard error of the rate, in events per second?

per s

5.Try it yourself

No simulation models this idea yet. The lesson below has an interactive diagram instead.

6.Where engineers use it

Reliability engineers estimate failure rates of components from test hours with exactly this formula, then use the SE to decide how many more test hours are needed.

From the applied view in the lesson Maximum likelihood. Checked by automated tests only.

7.Build something with it

Follow-up project

Your rover's hazard camera false-alarms 3 times in 600 frames. Estimate the false-alarm rate and its standard error. How many frames would you need to halve the SE?

Where this video lives

In the course catalogue: MATH-530 Probability and estimation

The video is by StatQuest with Josh Starmer, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.