Agentic

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.

Solutions to Lafaye de Micheaux, Drouilhet & Liquet’s The R Software

Worked solutions to all 164 end-of-chapter exercises and 57 worksheet practicals (353 numbered worksheet questions) in The R Software: Fundamentals of Programming and Statistical Analysis (Springer, 2013) — data structures, import and export, data manipulation, plots, programming, sessions, matrix algebra and optimisation, descriptive statistics, simulation, confidence intervals and tests, linear regression and ANOVA — with executed R code and committed output throughout.

Solutions to Casella & Berger’s Statistical Inference

Worked solutions to all 624 exercises in Casella & Berger's Statistical Inference (2nd edition) — probability theory, transformations and expectations, common families of distributions, multiple random variables, properties of a random sample, principles of data reduction, point estimation, hypothesis testing, interval estimation, asymptotic evaluations, and the analysis of variance and regression.

Solutions to Gelman et al.’s Bayesian Data Analysis

Worked solutions to all 215 exercises in Bayesian Data Analysis (3rd edition) by Gelman, Carlin, Stern, Dunson, Vehtari and Rubin — probability and inference, single- and multi-parameter models, hierarchical models, model checking and comparison, MCMC and Hamiltonian Monte Carlo, variational inference, regression and generalized linear models, and nonparametric Bayesian models.

Solutions to Abbott’s Understanding Analysis

Worked solutions to all 467 exercises in Stephen Abbott's Understanding Analysis (2nd edition) — the real numbers and completeness, sequences and series, the topology of R, functional limits and continuity, the derivative, sequences and series of functions, the Riemann integral, and the additional topics chapter from metric spaces to Fourier series.

Solutions to Rosenthal’s A First Look at Rigorous Probability Theory

Worked solutions to all 203 exercises in Jeffrey S. Rosenthal's A First Look at Rigorous Probability Theory (2nd edition) — probability triples and extension theorems, random variables, expected values, inequalities and convergence, distributions, gambling games, discrete Markov chains, weak convergence, characteristic functions, decomposition of laws, conditional expectation, and martingales.

Solutions to Darwiche’s Modeling and Reasoning with Bayesian Networks

Worked solutions to all 342 exercises in Adnan Darwiche's Modeling and Reasoning with Bayesian Networks — propositional logic, probability calculus, building Bayesian networks, exact inference by variable elimination, factor elimination and conditioning, jointrees and graph decomposition, MPE and MAP, complexity, compilation, belief propagation, sampling, sensitivity analysis, and parameter/structure learning.