Statistics

Regression

the regression shelf: ordinary least squares, regularised and locally-weighted variants, logistic regression, and the generalised linear model theory that unifies them — estimation, inference, and worked implementations.

On the Statistics of Smoking

Three classic smoking datasets analysed in R: linear and logistic regression for birth weight, a dose-response GLM for oesophageal cancer, Simpson's paradox in the Whickham survey, Wald tests by hand against likelihood-ratio and score tests, Hauck-Donner, sandwich errors, Beta-binomial and Metropolis-sampled Bayesian logistic regression, PCA and Hotelling's T-squared. Also a typeset PDF.