Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
diff-stream 0.3.0
diff-stream 0.3.0

Getting started

  • Quickstart
  • Choosing an estimator

Guide

  • Your data
  • Estimators
    • Callaway-Sant’Anna
    • Sun-Abraham
    • BJS imputation
    • Two-stage DiD
    • Extended TWFE
    • Stacked DiD
    • Continuous treatment
    • Switching treatment (de Chaisemartin and D’Haultfoeuille)
  • Results and aggregation
  • Inference
  • Sensitivity to parallel trends
  • Diagnostics of a two-way fixed effects estimate
  • Examples
    • Quickstart
    • Covariates in Callaway-Sant’Anna
    • Aggregation and its composition
    • Anticipation
    • Sampling weights
    • Covariates and fixed effects in Sun-Abraham and BJS
    • When every unit is eventually treated
    • BJS pre-trend test
    • Simultaneous bands
    • Two-stage DiD on the Castle Doctrine panel
    • Extended TWFE on mpdta
    • Sun-Abraham on the Castle Doctrine panel
    • Goodman-Bacon decomposition
    • TWFE treatment-effect weights

Background

  • How it works
  • Memory, disk and threads
  • Differences from other packages
  • Validation
  • Benchmarks
    • Panels without covariates
    • Covariates and fixed effects
    • Fixed effects with millions of levels

Reference

  • Function reference
    • Estimators
    • Diagnostics and bootstrap
    • Results
    • Utilities
  • Changelog
Back to top
Copyright © 2026, Lee Tucker
Made with Sphinx and @pradyunsg's Furo