Learn R Programming

⚠️There's a newer version (1.0.6) of this package.Take me there.

estimatr (version 1.0.4)

Fast Estimators for Design-Based Inference

Description

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) .

Copy Link

Version

Install

install.packages('estimatr')

Monthly Downloads

15,447

Version

1.0.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Graeme Blair

Last Published

March 31st, 2024

Functions in estimatr (1.0.4)

permutations_to_condition_pr_mat

Builds condition probability matrices for Horvitz-Thompson estimation from permutation matrix
na.omit_detailed.data.frame

Extra logging on na.omit handler
lm_lin

Linear regression with the Lin (2013) covariate adjustment
lh_robust

Linear Hypothesis for Ordinary Least Squares with Robust Standard Errors
lm_robust_fit

Internal method that creates linear fits
lm_robust

Ordinary Least Squares with Robust Standard Errors
reexports

Objects exported from other packages
predict.lm_robust

Predict method for lm_robust object
iv_robust

Two-Stage Least Squares Instrumental Variables Regression
starprep

Prepare model fits for stargazer
alo_star_men

Replication data for Lin 2013
extract.robust_default

Extract model data for texreg package
declaration_to_condition_pr_mat

Builds condition probability matrices for Horvitz-Thompson estimation from randomizr declaration
commarobust

Build lm_robust object from lm fit
difference_in_means

Design-based difference-in-means estimator
estimatr_tidiers

Tidy an estimatr object
estimatr

estimatr
gen_pr_matrix_cluster

Generate condition probability matrix given clusters and probabilities
horvitz_thompson

Horvitz-Thompson estimator for two-armed trials
estimatr_glancers

Glance at an estimatr object