Statistical Inference

istograms and Density Estimation

21:05

Plays from YouTube. Watch on YouTube

Why do the same observations give different-looking density estimates?

Meet histograms and density estimation. This lesson covers bin width, area normalization, kernel density estimation and bandwidth, with original diagrams, mathematical reasoning and synthetic worked examples.

We start with why bin width matters and areas versus heights. A histogram is a discretized density estimate. Density is not probability at a single point.

From there, we unpack kernel smoothing, under- and oversmoothing, boundary behavior. KDE places a small bump at each observation. Bandwidth dominates the bias-variance tradeoff. A generic KDE can leak density outside valid support.

Then we study kde versus a fitted model, communicate uncertainty and discuss the assumptions needed to interpret their results.

The big idea: The calculation and its assumptions must agree. These are independent teaching illustrations, not copied classroom slides or assessments.

Statistics explained visually, with definitions, calculations and the limits of each method.