Biostatistics in R — Online Course
The methods clinical and health-sciences research runs on — Table 1, regression, survival, diagnostic tests and more, each with the exact R code.
Free & open — every video lesson, the exact R code, a downloadable .R script and the in-browser playground. No sign-up, no paywall.
The course
What you’ll learn
- Build a publication-ready Table 1 and regression tables with gtsummary
- Run correlation, chi-square, ANOVA and non-parametric tests
- Fit logistic and Cox models, and read odds & hazard ratios
- Estimate survival, diagnostic accuracy, agreement and power
Curriculum
15 short video lessons — each with the exact R code, a downloadable script and a live browser console. Work through them in order.
1 ### Table 1 with gtsummary Baseline characteristics by group, with an automatic test per row.
2 ### Correlation: Pearson & Spearman A correlation test with a CI, and a scatter plot.
3 ### Chi-square & Fisher’s Test Test whether two categorical variables are associated.
4 ### Odds Ratio, Relative Risk & NNT The three headline risk measures from a 2×2 table.
5 ### ANOVA & Post-hoc Tests Compare 3+ group means, then Tukey’s pairwise test.
6 ### Non-parametric Tests Wilcoxon, Mann-Whitney and Kruskal-Wallis.
7 ### Effect Size: Cohen’s d How big is the difference, beyond the p-value.
8 ### Multiple Linear Regression Predict a numeric outcome from several variables.
9 ### Logistic Regression & Odds Ratios Adjusted odds ratios with CIs, plus ROC and AUC.
10 ### Kaplan-Meier Survival Curves Survival by group, the curve, and the log-rank test.
11 ### Cox Proportional Hazards Hazard ratios with the PH assumption check.
12 ### Diagnostic Test Accuracy Sensitivity, specificity, PPV, NPV and likelihood ratios.
13 ### Cohen’s Kappa Agreement between two raters, beyond chance.
14 ### Cronbach’s Alpha The internal consistency of a scale.
15 ### Sample Size & Power Plan the study before you collect the data.
Everything included
- ▶ 15 video lessons — watch in the browser, free, with English subtitles.
- 📄 Download every R script — full-course R script
- 🧪 Run the code live on each lesson page and in the course playground — no install.
Free & open — every video lesson, the exact R code, a downloadable .R script and the in-browser playground. No sign-up, no paywall.
Free R, Markdown & Quarto cheat sheets
One-page PDF guides — the “Which test?” decision chart, Markdown syntax, and Quarto reporting — free to download. Add your email for the occasional R tip too. No spam, unsubscribe anytime.