DSS

DATA ANALYSIS FOR SOCIAL SCIENCE

A FRIENDLY AND PRACTICAL INTRODUCTION

Elena Llaudet and Kosuke Imai (Princeton University Press)

An ideal textbook for complete beginners — teaches from scratch R, statistics, and the fundamentals of quantitative social science.

Read First Chapter |
See in Amazon |
Request Exam Copy

What's On This Page?

  • The code and real-world datasets used in the exercises in the book
  • Links to interactive graphs to help students develop an intuition about some of the trickier concepts in statistics
  • Other resources under development such as review exercises, videos, and additional readings.

Other Resources:

STUDENT RESOURCES for DATA ANALYSIS FOR SOCIAL SCIENCE (DSS)

The student resources on this page are organized by chapter:

Although also provided below chapter-by-chapter, all the code and all the real-world datasets used in the exercises in the book are in a folder named DSS here. We recommend downloading this folder, unzipping it, and saving it directly on your Desktop, which is where the code used throughout the book assumes the DSS folder is located.

IMPORTANT NOTE: Any errors found in the these resources are my own. If you find any, I would really appreciate it if you could let me know by sending me an email at ellaudet@gmail.com. (Updated: 11/02/2023)

CHAPTER 1: INTRODUCTION

In chapter 1, we start from the very beginning by installing and familiarizing ourselves with the two programs we use―R and RStudio―and by laying the groundwork for forthcoming analyses. 

CHAPTER 2: ESTIMATING CAUSAL EFFECTS WITH RANDOMIZED EXPERIMENTS

In chapter 2, we learn what causal effects are and how to estimate them using randomized experiments. We analyze data from Project STAR to answer: What is the effect of small classes on student performance?

CHAPTER 3: INFERRING POPULATION CHARACTERISTICS VIA SURVEY RESEARCH

In chapter 3, we learn about surveys and how to visualize and summarize the distribution of single variables as well as the relationship between two variables. We analyze data on the 2016 British referendum to answer: Who Supported Brexit?

CHAPTER 4: PREDICTING OUTCOMES USING LINEAR REGRESSION

In chapter 4, we learn how to predict outcomes using simple linear regression models. We analyze data from 170 countries to predict GDP growth using night-time light emissions as measured from space.

CHAPTER 5: ESTIMATING CAUSAL EFFECTS WITH OBSERVATIONAL DATA

In chapter 5, we learn how to estimate causal effects using observational data. We analyze survey and electoral data to answer: What was the effect of Russian TV propaganda on the 2014 Ukrainian elections?

CHAPTER 6: PROBABILITY

In chapter 6, we cover basic probability. We learn about random variables and their distributions, the distinction between population parameters and sample statistics, and the two large sample theorems that enable us to measure statistical uncertainty.

CHAPTER 7: QUANTIFYING UNCERTAINTY

In chapter 7, we learn how to quantify the uncertainty in our empirical findings in order to draw conclusions at the population level. We complete some of the analyses we started in chapters 2 through 5.