StatsQuest · The whole town · Statistics

Full Review: Every StatsQuest Location

One cram sheet for the whole course, then a mixed set that makes you choose the right method.

PDFBack to the game

After this guide you can

One page cram sheet

LocationMust know
Town Hall Survey OfficeParameter/population, statistic/sample. Random selection fights bias; random assignment allows cause and effect.
Records LibrarySkewed: median and IQR. Symmetric: mean and SD. Outliers beyond Q1 − 1.5 IQR or Q3 + 1.5 IQR.
Lucky Dice Game CafeP(A or B) = P(A) + P(B) − P(A and B); P(A | B) = P(A and B)/P(B); binomial mean np, SD √(np(1 − p)).
Maple Fitness Centerz = (x − μ)/σ; 68, 95, 99.7; 95% cutoff 1.96.
Corner Marketx̄ centered at μ with SE σ/√n; p̂ SE √(p(1 − p)/n); CLT for large n.
WMPL News StudioEstimate ± critical value × SE; t with df = n − 1; wider for more confidence, narrower for bigger n.
County CourthouseH₀ has =; reject if p ≤ α; Type I = false alarm (α), Type II = miss (β); power = 1 − β.
Science Museumr from −1 to 1, linear only; ŷ = a + bx; residual = y − ŷ; r² = variation explained.
Maple Dinerχ² = Σ(O − E)²/E, E ≥ 5; df k − 1 or (r − 1)(c − 1); ANOVA F = MSB/MSW.
County ClinicRR, OR, ARR, NNT = 1/ARR; sensitivity and specificity down columns; PPV and NPV across rows, depend on prevalence.

Key terms

Standard error
The SD of a statistic; shrinks with √n.
p-value
How surprising the data are if H₀ is true.
Confidence level
Success rate of the method in the long run.
Confounding
A third variable mixed up with the explanatory variable.
Effect size
How big a difference is, separate from significance.
Conditions
Randomness, independence and a normal or large-count check.

The big ideas

Decision chart for choosing a test from the type of data and the number of groupsWhat kind of data?Categorical (counts)Quantitative (means)One proportion1-prop z test or intervalTwo proportions2-prop z testCategory countsχ² goodness of fit or two-wayOne meanone-sample tTwo meansWelch t, or paired t for pairsThree or more meansone-way ANOVA (F)Two quantitativeregression and t for slope

Choose the method by the type of response and how many groups or variables you compare.

Worked example

Mixed: 120 of 300 patients on a new plan improved versus 90 of 300 on the usual plan. What test, and what is the difference?

  1. Two independent groups, categorical outcome: a two-proportion z test.
  2. p̂₁ = 0.40, p̂₂ = 0.30; difference 0.10.
  3. Pooled p̂ = 210/600 = 0.35; SE = √(0.35 × 0.65 × (1/300 + 1/300)) ≈ 0.0389.
  4. z = 0.10/0.0389 ≈ 2.57; two-sided p ≈ 0.010, so reject H₀ at α = 0.05. NNT = 1/0.10 = 10.

Answer: Two-proportion z test; z ≈ 2.57, p ≈ 0.01; about 10 patients per extra improvement

Common mistakes

Check yourself

  1. Which summary fits a right skewed hospital stay variable?
  2. P(A) = 0.6, P(B | A) = 0.5. P(A and B)?
  3. z for x = 130 with μ = 100, σ = 15?
  4. σ = 9, n = 81. SE of x̄?
  5. Same students tested before and after tutoring: method?
  6. Compare mean pain scores across four clinics: method?
  7. Is smoking status related to exercise level (both categorical)?
  8. A test has sensitivity 99%. Does a positive mean a 99% chance of disease?

Answer key

  1. Median and IQR. Resistant to the long tail.
  2. 0.3. Multiplication rule.
  3. 2. 30/15.
  4. 1. 9/9.
  5. Paired t. Differences within each student.
  6. One-way ANOVA. Three or more means.
  7. χ² test of independence. Two categorical variables in one sample.
  8. No. That is PPV, which depends on prevalence.

1 Design2 Describing3 Probability4 Normal5 CLT6 Intervals7 Tests8 Regression9 Chi-square, ANOVA10 Health stats