MPE StudioMath of Planet Earth
Statistical Toolkit · 11

Markov Chain Monte Carlo: Parameter Estimation

Estimating parameters and their uncertainty from data

MCMC parameter estimation produces a distribution of plausible parameter values, rather than only one best fit. The spread of the samples quantifies uncertainty.

watchone idea
→
manipulateone example
→
leave withone intuition

The essential idea: sampling the posterior shows both which parameters fit the data and how certain those estimates are.

Watch the concept

One Concept · One Example

Markov Chain Monte Carlo: Parameter Estimation video thumbnail▶

Markov Chain Monte Carlo: Parameter Estimation

Presented by Charlotte Moser

Watch on YouTube ↗

What to notice

The idea in 30 seconds

Fit a line, retain uncertainty

Observation model

A linear signal is observed with Gaussian noise, whose standard deviation controls data uncertainty.

yi=axi+b+εi

Posterior sampling

Metropolis moves through parameter space in proportion to how well each line explains the observations.

p(a,b|data)∝likelihood×prior
Explore

Sample plausible regression lines and inspect the trace

Compare chains as short as 50 and 200 steps with longer runs. The parameter trace reveals whether the chain has reached and explored its posterior region.

x = 0x = 10
posterior meanplausible linestruth
PARAMETER TRACEslope a across all 200 steps
burn-instep 1step 200
KEY TAKEAWAY

MCMC turns parameter fitting into uncertainty-aware inference by sampling the posterior distribution over model parameters.