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

Discrete distributions

Watch one model's quiz answers fill four distributions, one sample at a time.


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.13 · DISTRIBUTION BAYC IN 70 OF 100 SAMPLES · P(C) = 0.7
01
Stage 1 of 5 · Pick an option
Each sample is one categorical draw from 4 options. C comes up in 70 of 100.
Explain it simply

Think of a spinner with four parts, one per option. The ochre bars show the size of each part, and the sizes add up to 1. Option C, the right one, takes 0.7 of the spinner. Each sample is one spin, and its teal bar grows. After 100 spins, the teal bars sit near the ochre ones.

Four option bars with probabilities A 0.1, B 0.15, C 0.7, D 0.05. 100 samples: A 10, B 18, C 70, D 2.

probability barssamplesmistake, X = 1Poisson barsright answer, X = 0
answer Y00.51probabilityA0.110B0.1518C0.770rightD0.052categorical: 4 options, probabilities sum to 1pA + pB + pC + pD = 0.1 + 0.15 + 0.7 + 0.05 = 1100 samples: A 10 · B 18 · C 70 · D 2share of C: 70/100 = 0.7 vs 0.7answer Y00.51probabilityA0.110B0.1518C0.770rightD0.052categorical: 4 options, probabilities sum to 1pA + pB + pC + pD = 0.1 + 0.15 + 0.7 + 0.05 = 1100 samples: A 10 · B 18 · C 70 · D 2share of C: 70/100 = 0.7 vs 0.7
Toy: a quiz with options A to D (C is right) · seeded samples · numbers to 2 or 3 decimals
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
P(Y=k)=pk,∑kpk=1P(\sy{Y}{data}{Y} = k) = \sy{pk}{param}{p_k},\qquad \textstyle\sum_k \sy{pk}{param}{p_k} = 1
pA+pB+pC+pD=0.1+0.15+0.7+0.05=1;C in 70 of 100p_A + p_B + p_C + p_D = 0.1 + 0.15 + 0.7 + 0.05 = 1;\quad \text{C in } 70 \text{ of } 100

Each option has its own probability, and the four sum to 1.

Common mix-ups

MYTHA model with a 0.3 mistake rate makes 3 mistakes in 10.

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

Predict, then reveal
3 CHECKS · PRO
Q01If the model only guesses, how do the four option bars look?

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.