Getting Started#

New to diff-diff? Start here: install the package, run your first analysis, and learn which estimator fits your research design.

Quickstart

Installation and your first DiD analysis — column-name and formula interfaces, covariates, and robust inference.

Quickstart
Choosing an Estimator

A decision flowchart that maps your research design to the right estimator, from basic 2x2 DiD to staggered adoption methods.

Choosing an Estimator
Troubleshooting

Solutions for common issues: singular matrices, collinear covariates, insufficient variation, and convergence problems.

Troubleshooting