Introduction to the Second Half
In this introduction we shall describe what the second half of the book contains and what we mean by calling it advanced. We then set out the two commitments that the subtitle places on every chapter, the dependencies that govern reading order, and the topics we have chosen to leave aside.
What the second half is
The first half of this book covers programming, numerical linear algebra, optimization, simulation, the bootstrap, the standard frequentist models, and statistical graphics. It is written for the first quarter of a two-quarter graduate sequence. The second half begins here, where the first leaves off, and is written for the second quarter. In print it is Volume II.
What ‘advanced’ means here
The word ‘advanced’ carries three meanings in the second half, which we take in increasing strength.
The first is a deeper treatment of foundational topics. 16 Numerical Stability and Conditioning and 17 Numerical Linear Algebra in Depth, on numerical stability and numerical linear algebra, revisit material that the first half touches but does not treat in depth. Floating-point arithmetic, condition numbers, sparse and iterative solvers, and BLAS-level performance are fundamentals. Everything after them depends on them.
The second is topics that exceed introductory scope. 18 Advanced Optimization through 23 Modern Bayesian Computation take up advanced optimization, the EM algorithm and its extensions, Monte Carlo in depth, Bayesian computation, MCMC in depth, and modern Bayesian computation. Each chapter extends the first-half treatment of its topic. The aim is to reach the territory needed for current methodological research and for applied practice with modern tools.
The third is topics that did not appear in the first half at all. 24 Parallel Computing in R through 33 Advanced Interactive Visualization and Dashboards take up parallel and high-performance computing, high-dimensional methods, machine learning, R package development and testing, software engineering for statisticians, reproducible computational environments, and interactive applications and dashboards. The first half deliberately sets this ground aside. Each of these is the kind of topic a practicing biostatistician meets mid-career, and graduate training ought to prepare the reader for it.
What ‘in the Age of AI’ commits the second half to
The subtitle commits every chapter to two named sections.
The first, The statistician’s contribution, is placed early. It states explicitly the judgments at the center of the chapter that no large language model can make on the reader’s behalf. Advanced material is exactly where the division of labor between human and LLM matters most. To illustrate, a careless prompt in an introductory bootstrap chapter produces a bug that a rerun will catch. A careless prompt in a Hamiltonian Monte Carlo or a high-dimensional chapter produces results that look plausible and are wrong. The stakes rise further when the prompt is handed to a coding agent rather than typed into a chat window, since the agent edits the analysis code and reruns the pipeline unattended. In that case nothing forces a human to see the intermediate step where the mistake was made.
The second, Collaborating with an LLM on the topic at hand, comes at the end of the chapter. It offers specific prompts, each paired with what to watch for and how to verify the result. That is, each prompt is structured as a triple: the prompt itself, the failure modes the model may exhibit, and a verification step the reader runs to catch them. We apply the framework uniformly across the second half, as in the first.
Reading order
The chapters may be read in order or out of order, subject to the following dependencies.
- 16 Numerical Stability and Conditioning and 17 Numerical Linear Algebra in Depth, the numerical foundations, underpin all the numerical work in 18 Advanced Optimization through 23 Modern Bayesian Computation.
- 18 Advanced Optimization feeds 19 EM and Its Extensions, the EM algorithm and its extensions, and 26 High-Dimensional and Sparse Methods, high-dimensional methods.
- 20 Monte Carlo Methods in Depth, Monte Carlo, feeds 21 Bayesian Computation, Bayesian computation, which feeds 22 MCMC in Depth, MCMC, which in turn feeds 23 Modern Bayesian Computation, modern Bayesian computation.
- 24 Parallel Computing in R, parallel computing, comes before 25 High-Performance and Distributed Computing, high-performance and distributed computing.
- 28 R Package Development, package development, comes before 29 Package Testing and Documentation, testing, and both come before 30 Software Engineering for Statisticians and
- 32 Interactive Visualization with Shiny, Shiny, comes before 33 Advanced Interactive Visualization and Dashboards, interactive visualization and dashboards.
- Otherwise the computing and software chapters are largely independent of one another and of the numerical chapters, with one exception: 27 Machine Learning for Biostatistics uses the optimization tools of 18 Advanced Optimization.
A reader who follows the dependencies in order will treat the second half as a course. A reader who picks topics as needed will treat it as a reference.
What this book does not cover
We have set aside several topics that are usually taught in dedicated methods courses elsewhere in a biostatistics curriculum:
- Causal inference computing.
- Longitudinal data analysis beyond the introductory GLMM material.
- Missing-data computing in depth.
- Meta-analysis.
We point the reader to the standard references for each as they arise.
Software environment
The second half assumes a current R installation, a current Quarto, and the package set used in the first half. We name new software in the chapter that uses it. The companion Biostatistics Practicum documents the workflow, the infrastructure, and the deployment conventions that we assume throughout.