Package: estimatr 2.0.1
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.
Authors:
estimatr_2.0.1.tar.gz
estimatr_2.0.1.zip(r-4.7-x86_64)estimatr_2.0.1.zip(r-4.7-arm64)estimatr_2.0.1.zip(r-4.6-x86_64)estimatr_2.0.1.zip(r-4.6-arm64)estimatr_2.0.1.zip(r-4.5-x86_64)
estimatr_2.0.1.tgz(r-4.6-x86_64)estimatr_2.0.1.tgz(r-4.6-arm64)estimatr_2.0.1.tgz(r-4.5-x86_64)estimatr_2.0.1.tgz(r-4.5-arm64)
estimatr_2.0.1.tar.gz(r-4.7-arm64)estimatr_2.0.1.tar.gz(r-4.7-x86_64)estimatr_2.0.1.tar.gz(r-4.6-arm64)estimatr_2.0.1.tar.gz(r-4.6-x86_64)
estimatr_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
estimatr/json (API)
| # Install 'estimatr' in R: |
| install.packages('estimatr', repos = c('https://declaredesign.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/declaredesign/estimatr/issues
Pkgdown/docs site:https://declaredesign.org
Last updated from:4773b53253. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 206 | ||
| linux-devel-x86_64 | OK | 217 | ||
| source / vignettes | OK | 257 | ||
| linux-release-arm64 | OK | 201 | ||
| linux-release-x86_64 | OK | 226 | ||
| macos-release-arm64 | OK | 195 | ||
| macos-release-x86_64 | OK | 335 | ||
| macos-oldrel-arm64 | OK | 129 | ||
| macos-oldrel-x86_64 | OK | 330 | ||
| windows-devel-arm64 | OK | 413 | ||
| windows-devel-x86_64 | OK | 254 | ||
| windows-release-arm64 | OK | 441 | ||
| windows-release-x86_64 | OK | 219 | ||
| windows-oldrel-x86_64 | OK | 220 | ||
| wasm-release | OK | 119 |
Exports:augmentcommarobustdifference_in_meansextract.iv_robustextract.lm_robustglancehorvitz_thompsoniv_robustlh_robustlm_linlm_robustlm_robust_fitstarpreptidy
Dependencies:cliFormulagenericsgluelifecyclemagrittrpillarpkgconfigRcppRcppEigenrlangtibbleutf8vctrs
Last update: 2026-10-10
Started: 2026-09-15
Last update: 2026-10-10
Started: 2018-02-10
Last update: 2026-09-15
Started: 2018-01-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| estimatr: Fast Estimators for Design-Based Inference | estimatr-package estimatr |
| Augment a Model Object with Fitted Values and Residuals | augment.iv_robust augment.lm_robust |
| Design-Based Difference-in-Means Estimator | difference_in_means |
| Tidy an estimatr object | estimatr_tidiers tidy.difference_in_means tidy.horvitz_thompson tidy.iv_robust tidy.lh tidy.lh_robust tidy.lm_robust |
| Functions removed in 2.0 | commarobust estimatr-defunct starprep |
| Extract model data for the 'texreg' package | extract.iv_robust extract.lm_robust |
| Horvitz-Thompson Estimator with Inverse Probability Weighting | horvitz_thompson |
| Two-Stage Least Squares Instrumental Variables Regression | iv_robust |
| Linear Hypothesis Test for OLS with Robust Standard Errors | lh_robust |
| Linear Regression with Lin (2013) Covariate Adjustment | lm_lin |
| Ordinary Least Squares with Robust Standard Errors | lm_robust |
| Internal method that creates linear fits | lm_robust_fit |
| Predict method for 'lm_robust' object | predict.lm_robust |