Index for the code and data for the book Regression and Other Stories


Code and data by chapters

1 Introduction

2 Data and measurement

3 Some basic methods in mathematics and probability

4 Generative models and statistical inference

5 Simulation

6 Background on regression modeling

7 Linear regression with a single predictor

8 Fitting regression models

9 Prediction and Bayesian inference

10 Linear regression with multiple predictors

11 Assumptions, diagnostics, and model evaluation

12 Transformations

13 Logistic regression

14 Other generalized linear models

15 Design and sample size decisions

16 Poststratification and missing-data imputation

Code and data alphabetically