Student Resources

Quantitative Social Science Quantitative Social Science: An Introduction
Kosuke Imai

Below you will find the Student Resources for the book Quantitative Social Science: An Introduction. You will be able to download the data sets and scripts by chapter.

  • The exercises available on these resource pages are in standard R code. A tidyverse version of the QSS code has been created by Jeff Arnold (University of Washington) and is available at For more information on tidyverse see

Student Data Files

The downloads below contain the data sets and scripts needed to complete exercises for all of the chapters in Quantitative Social Science: An Introduction. Each zip file contains a “Read Me” that provides detail about the other files included.

All Student Data Files [ZIP]

Download All Student Data Files [ZIP]

Chapter 1 Introduction [ZIP]

Download Chapter 1 Introduction [ZIP]

Chapter 2 Causality [ZIP]

Download Chapter 2 Causality [ZIP]

Chapter 3 Measurement [ZIP]

Download Chapter 3 Measurement [ZIP]

Chapter 4 Prediction [ZIP]

Download Chapter 4 Prediction [ZIP]

Chapter 5 Discovery [ZIP]

Download Chapter 5 Discovery [ZIP]

Chapter 6 Probability [ZIP]

Download Chapter 6 Probability [ZIP]

Chapter 7 Uncertainty [ZIP]

Download Chapter 7 Uncertainty [ZIP]

Errata [ZIP]

Download Errata [ZIP]

Inside the Book