Log inStart free
LESSON 2.14 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Continuous distributions

Watch 1000 samples become a histogram, then a density curve.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 2.14 · DENSITY BAY1000 SAMPLES · 1000 DIFFERENT VALUES
01
Stage 1 of 5 · Draw samples
1000 samples of a continuous random variable X land under the x axis. All 1000 values differ.
Explain it simply

Each dot is one sample: a number drawn at random, like a height or a waiting time. It can be any number on the line, so no two dots share a value. So one exact value, such as 0.5, has probability zero. Only a stretch of the line can hold probability.

1000 dots lie in a band under the x axis. They take 1000 different values.

samples and barsbin edges, μ, σ, λdensity curve, areaaxes
−3−2−1012345xsamplesx = −0.091681 · 1 of 1000 samples−3−2−1012345xsamplesx = −0.091681 · 1 of 1000 samples
Toy: 1000 seeded samples · x from −3 to 5 · bins of 1, 0.5 or 0.25
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
X∼f,P(X=x)=0\sy{x}{data}{X} \sim \sy{f}{out}{f},\qquad P(\sy{x}{data}{X} = x) = 0
P(X=−0.091681)=0;  1000 of 1000 values differP(X = -0.091681) = 0;\ \ 1000\ \text{of}\ 1000\ \text{values differ}

One exact value has probability zero; an interval can have more.

Common mix-ups

MYTHA density is a probability, so it is never above 1.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the bins get half as wide, which bars keep about the same height: mass or density?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.