estimatr v0.20.0


Monthly downloads



Fast Estimators for Design-Based Inference

Fast procedures for 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>.

Functions in estimatr

Name Description
estimatr_glancers Glance at an estimatr object
difference_in_means Design-based difference-in-means estimator
horvitz_thompson Horvitz-Thompson estimator for two-armed trials
commarobust Build lm_robust object from lm fit
declaration_to_condition_pr_mat Builds condition probability matrices for Horvitz-Thompson estimation from randomizr declaration
estimatr estimatr
estimatr_tidiers Tidy an estimatr object
gen_pr_matrix_cluster Generate condition probability matrix given clusters and probabilities
alo_star_men Replication data for Lin 2013
extract.robust_default Extract model data for texreg package
lm_lin Linear regression with the Lin (2013) covariate adjustment
lh_robust Linear Hypothesis for Ordinary Least Squares with Robust Standard Errors
iv_robust Two-Stage Least Squares Instrumental Variables Regression
lm_robust Ordinary Least Squares with Robust Standard Errors Extra logging on na.omit handler
lm_robust_fit Internal method that creates linear fits
reexports Objects exported from other packages
starprep Prepare model fits for stargazer
permutations_to_condition_pr_mat Builds condition probability matrices for Horvitz-Thompson estimation from permutation matrix
predict.lm_robust Predict method for lm_robust object
No Results!

Last month downloads


Type Package
License MIT + file LICENSE
LinkingTo Rcpp, RcppEigen
Encoding UTF-8
RoxygenNote 6.1.1
LazyData true
NeedsCompilation yes
Packaged 2019-09-08 19:51:04 UTC; gblair
Repository CRAN
Date/Publication 2019-09-09 05:10:06 UTC

Include our badge in your README