Preface
This is a course reader for DH801, Biostatistics in Healthcare.
Each chapter starts from a problem in health or biology. It then builds, from first principles, the statistical method that solves the problem. We use formulae only where the method needs them.
The code in each chapter runs as written. You need R and these packages: tidyverse, patchwork, MASS, HistData, vcd, glmnet, car, pls and survival.
Lectures
Lecture schedule and slides are at saket-choudhary.me/DH801.
| 01 |
Statistics and stories, How the tests were invented |
1 The history of the tests, 2 Data, p-values and confidence intervals |
|
| 02 |
Non-parametric tests - I |
3 The sign test, 4 The t-test for small samples that need fat tails |
Video |
| 03 |
Non-parametric tests - II |
5 The Wilcoxon signed-rank test, 6 The Wilcoxon rank-sum (Mann–Whitney) test |
Video |
| 04 |
Linear models |
11 Simple linear regression and least squares |
Wilcoxon rank-sum test (animated) |
| 05 |
Hands-on R session |
Appendix A — Working in R |
HandsOnDH801_1.Rmd |
| 06 |
Linear regression - II |
12 Inference for regression, 13 Regression diagnostics, 14 Multiple regression, 15 The F-test: one test for many coefficients |
|
| 07 |
Regularised regression - I |
16 Correlated predictors: VIF and stepwise selection, 17 Ridge regression |
|
| 08 |
Regularised regression - II |
18 Lasso and elastic net, 19 Principal components regression |
|
| 09 |
GLMs - I |
20 Generalised linear models: logistic and Poisson regression |
|
| 10 |
GLMs - II |
20 Generalised linear models: logistic and Poisson regression |
GLM playground |
| 11 |
Association testing - I |
7 The permutation test, 8 The chi-square test for contingency tables, 9 Fisher’s exact test for small tables, 10 Paired tables: McNemar’s test and kappa |
|
| 12 |
Association testing - II |
7 The permutation test, 8 The chi-square test for contingency tables, 9 Fisher’s exact test for small tables, 10 Paired tables: McNemar’s test and kappa |
|