This is a draft textbook on data analysis methods, intended for a one-semester course for advance undergraduate students who have already taken classes in probability, mathematical statistics, and linear regression. It began as the lecture notes for 36-402 at Carnegie Mellon University.

By making this draft generally available, I am not promising to provide any assistance or even clarification whatsoever. Comments are, however, welcome.

The book is under contract to Cambridge
University Press; it should be turned over to the press ~~at the end
of 2013 or beginning of 2014~~ in early 2015. A copy of the
next-to-final version will remain freely accessible here permanently.

Table of contents:

- Regression Basics
- The Truth about Linear Regression
- Model Evaluation
- Smoothing in Regression
- Simulation
- The Bootstrap
- Weighting and Variance
- Splines
- Additive Models
- Testing Regression Specifications
- More about Hypothesis Testing
- Logistic Regression
- Generalized Linear Models and Generalized Additive Models
- Classification and Regression Trees

II. Multivariate Data, Distribution Estimates, and Latent Structure - Multivariate Distributions
- Density Estimation
- Relative Distributions and Smooth Tests
- Principal Components Analysis
- Factor Analysis
- Mixture Models
- Graphical Models

III. Causal Inference - Graphical Causal Models
- Identifying Causal Effects
- Estimating Causal Effects
- Discovering Causal Structure

IV. Dependent Data - Time Series
- Time Series with Latent Variables
- Longitudinal, Spatial and Network Data

Problem Sets with Data

Appendices- Reminders from Linear Algebra
- Big O and Little o Notation
- Taylor Expansions
- Optimization Theory
- Optimization Methods
- chi-squared and the Likelihood Ratio Test
- Proof of the Gauss-Markov Theorem
- Rudimentary Graph Theory
- Pseudo-code for the SGS Algorithm
- Writing R Functions

I. Regression and Its Generalizations

Planned changes:

- The logistic/GLM/GAM chapters need to be re-organized and consolidated; more on modeling over- and under- dispersion (part I)
- Unified treatment of relative entropy (Kullback-Leibler divergence) in material on density estimation and EM (part II)
- More detailed treatment of calibration and calibration-checking (part II)
- Missing data and imputation (part II)
- Merge the causal-identification and causal-estimation chapters (part III)
- Expand treatment of partial identification for causal inference, including partial identification of effects by looking at all data-compatible DAGs (part III)

(Text last updated 22 November 2014; webpage last updated 22 November 2014)