estimatr: Fast Estimators for Design-Based Inference

Fast procedures for a small set of commonly-used, design-appropriate estimators with robust standard errors and confidence intervals. Includes estimators for linear regression, instrumental variables regression, difference-in-means, Horvitz-Thompson estimation, and regression improving precision of experimental estimates by interacting treatment with centered pre-treatment covariates introduced by Lin (2013) <doi:10.1214/12-AOAS583>. Fixed effects are absorbed by alternating projections rather than by dummy expansion, and Horvitz-Thompson variance is computed from the randomization declaration.

Version: 2.0.0
Depends: R (≥ 3.6.0)
Imports: Formula, generics, methods, Rcpp, rlang, stats, tibble
LinkingTo: Rcpp, RcppEigen
Suggests: AER, car, clubSandwich, DeclareDesign, dplyr, emmeans, estimability, ivreg, knitr, modelsummary, randomizr, rmarkdown, sandwich, testthat (≥ 3.0.0), texreg
Published: 2026-09-16
DOI: 10.32614/CRAN.package.estimatr
Author: Alexander Coppock [aut, cre], Graeme Blair [aut], Jasper Cooper [aut], Luke Sonnet [aut], Macartan Humphreys [ctb], Neal Fultz [ctb], Lily Medina [ctb], Russell Lenth [ctb], Molly Offer-Westort [ctb]
Maintainer: Alexander Coppock <acoppock at gmail.com>
BugReports: https://github.com/DeclareDesign/estimatr/issues
License: MIT + file LICENSE
URL: https://declaredesign.org/r/estimatr/, https://github.com/DeclareDesign/estimatr
NeedsCompilation: yes
Materials: README, NEWS
In views: CausalInference, Econometrics
CRAN checks: estimatr results

Documentation:

Reference manual: estimatr.html , estimatr.pdf
Vignettes: estimatr 2.0: what changes, what does not, and why (source, R code)
Getting started with estimatr (source, R code)
Mathematical notes and guarantees for estimatr (source, R code)

Downloads:

Package source: estimatr_2.0.0.tar.gz
Windows binaries: r-devel: estimatr_1.0.6.zip, r-release: estimatr_1.0.6.zip, r-oldrel: estimatr_1.0.6.zip
macOS binaries: r-release (arm64): estimatr_1.0.6.tgz, r-oldrel (arm64): estimatr_2.0.0.tgz, r-release (x86_64): estimatr_2.0.0.tgz, r-oldrel (x86_64): estimatr_2.0.0.tgz
Old sources: estimatr archive

Reverse dependencies:

Reverse depends: DeclareDesign, DesignLibrary
Reverse imports: aggTrees, conText, eatRep, eventstudyr, factorEx, fdid, hbal, MethodCompare, projoint, rankingQ, RCT, rdss, ri2, senseweight, vbm, whatifbandit
Reverse suggests: CausalQueries, clarify, clubSandwich, crossmap, insight, lmw, marginaleffects, mhtopt, modelsummary, OneSampleMR, parameters, performance, probstats4econ, randomizr, statuser, tidyhte, tinytable, vayr, zfit

Linking:

Please use the canonical form https://CRAN.R-project.org/package=estimatr to link to this page.