Library

Find a method, course, or worked example for your analysis.

What would you like to learn?

Mathematics & statistical foundations

From equations and geometry to probability and inference.

Algebra & functions
Linear algebra & geometry
Calculus & optimization
Probability & distributions
Statistical reasoning & inference

Programming

Choose a language or build a skill you can use across languages.

R
Python
SQL
Git & reproducible workflows
Testing & code review
AI-assisted programming

Applied statistics

Choose a method by the question you want your analysis to answer.

Causal inference & study design
Regression & model choice
Prediction & validation
Survival & time-to-event analysis
Longitudinal & trajectory analysis
Program evaluation

Start with your question

How do I choose a model?

Imagine a dataset with treatment, baseline characteristics and one-year outcomes. What do you want to learn from it?

Describe what happened · Calculate the observed risk in each group and check who has a recorded outcome.

Predict a future event · Use information available at the time of prediction. Check calibration on patients held out of model development.

Estimate a treatment effect · Specify the treatments and target population. Examine whether the groups are comparable before choosing an estimator.

How do I compare people with different follow-up times?

Work through who is still at risk and how censoring affects the calculation.

Calculate survival over two years
Which group belongs in my denominator?

Practise conditional probability