Likelihood Surface Explorer (2D) — Maximum Likelihood Estimation
Interactive 2D log-likelihood heatmap for a normal-distribution sample: watch the maximum-likelihood estimate sit at the peak, a contour-drawn confidence ellipse from the numerically-computed Hessian, and see how sample size sharpens the surface.
Statistical inference means drawing conclusions about an unknown population from a finite sample, and maximum likelihood is the workhorse method for doing it: pick the parameter values that make the observed data most probable. This 2D counterpart draws a random sample from a Normal(μ, σ) population, computes its full log-likelihood function on a real (μ, σ) grid, and renders it as a heatmap with contour rings. The maximum-likelihood estimate sits exactly at the peak found by grid search, and a 95% confidence ellipse — built from the numerically-computed Hessian of the log-likelihood at that peak — shows exactly how the curvature of the surface encodes estimation uncertainty. Smaller samples produce a flatter surface and a larger ellipse; larger samples sharpen the peak and shrink it, which is the same Fisher-information argument behind the standard error reported next to almost every fitted statistic in science.
Draw a random sample and watch its full log-likelihood surface over (μ, σ) render in 3D — the maximum-likelihood estimate sits exactly at the peak, and a draggable probe shows how sharply the likelihood falls away, revealing the Fisher information behind every reported standard error.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install