Track your progress. Sign in, or start with What a random variable really is
Applied Statistician
Choose and defend the right analysis, model effects properly, and report them so they survive review. Finish it and your analysis can withstand methodological review.
Curriculum structure
01Probability, distributions and estimation7 lessons02Estimation and the bootstrap7 lessons03Confidence intervals and p-values6 lessons04Hypothesis testing and test selection8 lessons05ANOVA, contrasts and multiple comparisons8 lessons06Linear regression, properly8 lessons07Regression modeling strategies7 lessons08Generalized linear models8 lessons09Mixed-effects and longitudinal models7 lessons10Additive and nonparametric models6 lessons11Bayesian data analysis8 lessons12Experimental design and A/B testing8 lessons13Causal inference from data8 lessons14Survival and event-history analysis7 lessons
Full curriculum
01Probability, distributions and estimationReason about uncertainty from first principles.7 lessons, 2 free
01.01What a random variable really isWhat a random variable is, and why its expectation never depends on your sample.Free01.02The four distributions inference runs onWhy your t interval is wider than normal, and when a variance is unusual.Free01.03Counting Outcomes: Binomial and PoissonTell a fixed-count problem from an open-ended one, and compute either exactly.Pro01.04Why averages go normalWhy sample averages turn bell shaped as n grows, and when they don't.Pro01.05The sampling distribution of a statisticWhy a statistic's standard error isn't the data's spread, and when normal approximation fails.Pro01.06Point estimates and the standard errorWhat makes an estimator good, and why precision grows slower than sample size.Pro01.07Confidence intervals by bootstrapA 95% interval built by resampling alone, and what that 95% really means.Pro
02Estimation and the bootstrapEstimate parameters and quantify their uncertainty.7 lessons, 1 free
02.01Bias, variance, and the cost of an estimatorWhy a biased estimator can beat an unbiased one on mean squared error.Free02.02Maximum likelihood, from the curve upSee where a maximum likelihood estimate comes from, not just the formula for it.Pro02.03Matching moments to estimate a parameterFit a distribution by matching its own mean to your sample's, no optimiser needed.Pro02.04How much information a sample carriesLearn to read a likelihood curve's sharpness as Fisher information, and its floor.Pro02.05Two bootstrap intervals, and when they differSee a percentile interval and a BCa interval diverge, and which one to trust.Pro02.06Estimating error by leaving one outDrop one observation at a time to see which one is driving your estimate.Pro02.07Standard errors for transformed estimatesMultiply a standard error by a slope to get one for a transformed quantity.Pro
03Confidence intervals and p-valuesReport uncertainty honestly and avoid the classic traps.6 lessons, 1 free
03.01What a confidence interval promisesWhat the 95% on a confidence interval actually promises, and what it does not.Free03.02What a p-value is and is notWhat a p-value actually tells you, and the three ways people usually misread it.Pro03.03Inference by simulation instead of formulaTest any statistic for significance by shuffling group labels thousands of times.Pro03.04Checking that your intervals actually coverMeasure how often your interval recipe actually contains the truth, not just the label.Pro03.05Standard errors you can trustWhen the default standard error is wrong, and what actually fixes it.Pro03.06Reporting uncertainty without overclaimingTurn one analysis into an honest report, without hiding results or overstating certainty.Pro
04Hypothesis testing and test selectionChoose, run and report the right test.8 lessons, 2 free
04.01Choosing the right testThree questions that tell you which statistical test actually fits your data.Free04.02The t-test from scratchHow to tell a real difference from random variation.Free04.03Checking assumptions and what breaks themWhich assumptions actually damage your interval, and which barely matter at all.Pro04.04Comparing groups with t-testsCompare two groups and judge whether the difference is real.Pro04.05Testing on ranks with Wilcoxon and Kruskal-WallisWhy one outlier changes the mean but not a rank-based test's answer.Pro04.06Permutation and randomization testsTurn a gap between two groups into an exact p-value by counting, not assuming.Pro04.07Reporting effect size, not just significanceWhy a significant result and a big result are not the same thing.Pro04.08Equivalence testing with TOSTWhy a non-significant test doesn't prove two things are the same.Pro
05ANOVA, contrasts and multiple comparisonsCompare groups and correct for multiplicity.8 lessons, 1 free
05.01Comparing several groups at onceWhy six pairwise t-tests inflate your error rate, and what fixes it.Free05.02Two factors and their combined effectWhy adding a real second factor can make your first factor's test more sensitive.Pro05.03When an effect depends on anotherWhy a factor's effect can be positive for one group and negative for another.Pro05.04Fixed or random, which factor is whichWhy treating a randomly sampled factor as fixed makes your confidence intervals too narrow.Pro05.05Asking a specific question of your groupsWhy a planned contrast answers one question more cheaply than testing every possible pair.Pro05.06Controlling the family-wise error rateWhy running many hypothesis tests inflates your false-positive rate, and the fix.Pro05.07When false discovery rate beats BonferroniWhy a gene screen should flag more candidates than Bonferroni ever lets through.Pro05.08Marginal means you can actually reportGet the adjusted group mean your report needs, not a misleading raw average.Pro
06Linear regression, properlyFit, diagnose and defend a regression.8 lessons, 1 free
06.01What holding other variables constant really meansWhy a regression coefficient changes sign when you add a correlated predictor.Free06.02The five assumptions, ranked by what they costWhich of five broken assumptions costs the most, measured in coverage not R-squared.Pro06.03Diagnosing collinearity without panickingWhy a correlated predictor can widen your coefficient's interval without breaking the model.Pro06.04Robust standard errors, and when they are not enoughWhy your regression's standard error can be wrong even when the coefficient is right.Pro06.05Weighting observations that deserve less sayWhy a precise average should outweigh a shaky one in your regression.Pro06.06The one point carrying your regressionWhy one point can swing your fitted line more than all the others.Pro06.07Transformations that earn their keepHow to choose a transformation and read what its coefficient actually means.Pro06.08From coefficients to predictions people understandHow to turn a fitted model into a prediction, an interval, and an effect.Pro
07Regression modeling strategiesBuild a model that validates, not one that just fits.7 lessons, 1 free
07.01Why stepwise selection lies to youWhy a model built by automatic search looks significant when nothing is really there.Free07.02Fitting a curve without guessing its shapeA safer way to fit a bending relationship than a polynomial.Pro07.03Choosing interactions before you lookWhy testing every possible interaction almost always turns up one that isn't real.Pro07.04Paying a penalty to get a better modelWhy ridge and lasso trade a little bias for a lot less variance.Pro07.05Measuring how optimistic your model isWhy the R-squared you compute on the data you fit is always too good.Pro07.06How many events per variable you can affordWhy a model's probabilities can be wrong even when its coefficients look fine.Pro07.07Presenting a model so it survives reviewWhat a reviewer expects beside a coefficient table, and how to write it honestly.Pro
08Generalized linear modelsModel counts, rates and categorical outcomes.8 lessons, 1 free
08.01Logistic regression, from the odds upWhy a straight line can't model a yes-or-no outcome, and what actually does.Free08.02Three link functions, and why the choice rarely mattersWhy three link functions that look so different almost never change your conclusion.Pro08.03Modeling counts with Poisson regressionFit a count outcome correctly and read its coefficient as a rate ratio.Pro08.04When your counts are too variable for PoissonDiagnose overdispersion in a Poisson fit, then pick the right repair for it.Pro08.05Rates, offsets and unequal exposureCompare counts fairly when groups were observed for different amounts of time.Pro08.06Outcomes with an order, and outcomes withoutTell an ordered outcome from an unordered one, and fit the model each needs.Pro08.07Too many zeros, and the two ways to model themTell apart two reasons a count variable has too many zeros.Pro08.08Checking a GLM with simulated residualsBuild simulated residuals by hand, and use them to catch three real GLM faults.Pro
09Mixed-effects and longitudinal modelsModel grouped, repeated and correlated data.7 lessons, 1 free
09.01Why grouped data breaks ordinary regressionWhy an ordinary regression's confidence interval is too narrow when patients share a clinic.Free09.02Random intercepts and random slopesWhy letting dose effects vary by clinic gives a more honest confidence interval.Pro09.03Modeling change within a personA growth-curve model gives each person their own slope over time.Pro09.04Reading variance components and the ICCCompute the ICC by hand and see why more patients per clinic stops helping.Pro09.05GEE or mixed model, two different questionsWhy a mixed model and GEE answer different questions on the same data.Pro09.06Correlated residuals inside a groupSee why a random intercept misses correlation over time, and how to correct it.Pro09.07What to do when your mixed model will not convergeDiagnose and fix the four real reasons a mixed model's fit will not converge.Pro
10Additive and nonparametric modelsLet the data choose the shape when assumptions fail.6 lessons, 1 free
10.01Smoothing without smoothing away the signalSee four smoothing methods trade bias for variance on one noisy climb.Free10.02Generalized additive models, one smooth at a timeSee how a GAM lets one predictor curve while the rest stays linear.Pro10.03Choosing how wiggly is too wigglyHow a GCV or REML score picks the right amount of smoothing for you.Pro10.04Estimating a density without assuming oneHow a kernel density estimate replaces a histogram's arbitrary bin choices.Pro10.05Modeling the median and the tailsHow quantile regression models the 10th, median and 90th percentiles separately.Pro10.06Regression that ignores the outlierHow Huber and bisquare loss stop one bad point from tilting a regression line.Pro
11Bayesian data analysisFit, check and report a Bayesian model with confidence.8 lessons, 1 free
11.01Updating a belief with one datasetHow a tutoring program's real results turn a prior belief into a posterior one.Free11.02Why sampling works when algebra does notHow to find a posterior by sampling when no formula for it exists.Pro11.03Your first Bayesian regressionRefit a least-squares regression as Bayesian and read what its posterior adds.Pro11.04Partial pooling and the shrinkage it buysWhy blending a small group's mean with the overall mean beats trusting either alone.Pro11.05Checking a Bayesian model before and afterCatch a bad prior before it sees data, and a bad model after.Pro11.06Comparing models by predictive accuracySee why predicting new data, not fitting old data, should decide between models.Pro11.07Priors that regularize without dictatingWhy a flat prior is not neutral, and how to pick one that is.Pro11.08A Bayesian workflow you can defendThe seven-step order that turns one Bayesian analysis into a defensible report.Pro
12Experimental design and A/B testingDesign a study that can actually answer the question.8 lessons, 1 free
12.01Designing a study that can answer the questionThe five decisions that decide whether your study can answer the question.Free12.02Randomize what you can, block what you cannotWhy randomization balances groups only on average, and how blocking fixes it.Pro12.03Factorial designs and the split-plot trapWhy one factorial experiment beats two separate tests, and the error it can hide.Pro12.04Power analysis by simulation, not formulaWhy simulating a planned study thousands of times beats guessing at a power formula.Pro12.05How big a sample do you actually needHow to simulate your way to the smallest sample size that reaches 80% power.Pro12.06A/B tests and the cost of peekingWhy checking an A/B test every day inflates your false-alarm rate, and the fix.Pro12.07Finding the best settings with fewer runsHow to find the best settings for two factors without testing every combination.Pro12.08Writing down the analysis before the dataWhy testing several honest outcomes can turn a 5% test into an 18% one.Pro
13Causal inference from dataSeparate what causes an outcome from what merely predicts it.8 lessons, 1 free
13.01What a causal effect actually isThe two numbers behind every causal effect, and why only one is ever seen.Free13.02Drawing the assumptions you cannot testHow to read a causal diagram and know which variables belong in your regression.Pro13.03Propensity scores and inverse probability weightsWeighting by a propensity score to recover the effect a naive comparison overstates.Pro13.04Matching and what it throws awayWhat a matched estimate gains over a naive comparison, and what it leaves out.Pro13.05Difference-in-Differences and Its One AssumptionThe double-difference estimate that removes bias, and the one assumption it depends on.Pro13.06Instrumental variables when you cannot randomizeHow a wholesale cost shock recovers price's real effect when demand confounds it.Pro13.07Regression discontinuity and synthetic controlHow a cutoff's jump and a weighted donor blend both estimate effects without randomizing.Pro13.08Mediation, and how wrong you can afford to beHow strong a hidden confounder must be to erase a mediated effect.Pro
14Survival and event-history analysisAnalyze time-to-event data correctly.7 lessons, 1 free
14.01What censoring does to your dataWhy dropping or capping unfinished subscribers both get the average time wrong.Free14.02Kaplan-Meier curves and the log-rank testHow to build a survival curve by hand and test whether two groups differ.Pro14.03The Cox model and what a hazard ratio meansWhat a Cox hazard ratio actually compares, and two ways people misread it.Pro14.04Checking proportional hazards and what to do insteadHow to test whether one hazard ratio holds throughout a trial's follow-up.Pro14.05Covariates that change during follow-upHow treating a mid-study upgrade as a baseline trait manufactures a spurious effect.Pro14.06Parametric survival models and when to prefer themHow to fit exponential, Weibull and log-normal models and know which one to trust.Pro14.07Competing risks and why Kaplan-Meier overstatesWhy death without relapse is not ordinary censoring, and how to measure it correctly.Pro