Supplementary Materials for ``Quantitative Social Science: An Introduction''
R TeX
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9d1aa86 Aug 7, 2018
Permalink
Failed to load latest commit information.
CAUSALITY R scripts up Sep 22, 2017
DISCOVERY R scripts up Sep 22, 2017
INTRO R scripts up Sep 22, 2017
MEASUREMENT R scripts up Sep 22, 2017
PREDICTION primary2008 -> primary2006 Feb 3, 2018
PROBABILITY R scripts up Sep 22, 2017
UNCERTAINTY up Jan 27, 2018
errata errata addition Aug 6, 2018
syllabus up Jun 1, 2017
.Rbuildignore Add travis check Dec 20, 2016
.gitignore Update .gitignore Sep 28, 2017
.travis.yml Change it to test.R style Sep 21, 2017
DESCRIPTION Add the DESCRIPTION Sep 20, 2017
LICENSE Initial commit Jul 8, 2015
README.md qss.student Jun 22, 2018
test.R Render to html instead, since pdf files are already there Sep 27, 2017

README.md

QSS (Quantitative Social Science) Build Status

Supplementary Materials for the book, Quantitative Social Science: An Introduction, published by Princeton University Press in 2017. It is also available for purchase at vendors like Amazon.

The book is based on the teaching philosophy summarized in the talk I gave at the Nuffield Foundation's Q-Step Programme in 2015: slides

This repository contains the data sets and R scripts for all of the chapters:

  1. Introduction
  2. Causality
  3. Measurement
  4. Prediction
  5. Discovery
  6. Probability
  7. Uncertainty

In addition, the repository contains:

  1. Errata
  2. Sample course syllabi

R package qss

The data and code in this repository are also available as an R package qss (see the package website). The code is in the form of vignettes. To install this package, use the following command:

install.packages("devtools") # if you have not installed devtools package already
devtools::install_github("kosukeimai/qss-package", build_vignettes = TRUE)

Once the qss package is installed, you can use the data and vignette:

library(qss)
data(package = "qss") # list all data sets
data(elections) # load the elections data
vignette(package = "qss") # list all vignettes
browseVignette("qss") # list vignettes and R code
vignette("causality", package = "qss") # show the vignette for the Causality chapter

Related repositories

  1. swirl exercises qss-swirl
  2. R package qss (the package website)
  3. tidyverse code qss-tidy
  4. R package qss.student for students
  5. instructors' materials qss-inst (private repository)