Statistical Computing in the Age of AI
A graduate textbook in biostatistics
Welcome

This is the online version of Statistical Computing in the Age of AI by the rgtlab curriculum team. We have written it as a graduate textbook in statistical computing for biostatistics students.
We intend the book as a practical, code-first introduction to the computing techniques that biostatisticians use daily. These techniques include programming in R, version control, linear algebra, simulation, statistical modeling, graphics, and reproducible software. We also treat the emerging role of large language models in each of these activities.
We have written the book in the tradition of the Posit book family (R for Data Science, Advanced R, R Packages), and we use the same Quarto toolchain. The book is written for a two-quarter course, one quarter per half, and is printed in two volumes. It is one of three books in a graduate sequence:
- Biostatistics Practicum covers the workflow infrastructure (Git, Docker, renv, Quarto, CDISC, SAS) that surrounds the methods.
- Statistical Computing in the Age of AI (this book). The first half covers the foundations and the core models; the second half covers numerical stability, advanced optimization, EM, Monte Carlo, Bayesian computation, high-performance computing, high-dimensional methods, machine learning, software engineering, and interactive visualization.
- Applied Generative AI for Health Sciences Research treats generative AI as the orthogonal axis: capability classes, reasoning models, biomedical RAG, multimodal medical AI, agents, evaluation, regulation, deployment.
The reader is referred to the Preface for the motivation of the book and to the Conventions page for the visual cues used throughout.
The Contents page lists every chapter on one page.
License
This book is licensed to you under a Creative Commons Attribution 4.0 International License.
The code samples printed in this book are licensed under the MIT License. The repository code (package functions and build scripts) is licensed under GPL-3.