Changelog
Source:NEWS.md
estimatr 1.0.6
CRAN release: 2025-02-28
- Allows for prediction with lm_lin() when treatment is a factor and/or multi-valued.
- Adds saved treatment_levels to the returned lm_lin model object.
- Stops prediction for lm_lin if the treatment values in new data are not a subset of treatment_levels.
- Standardizes model fit for lm_lin() models with no intercept.
- Adds tests to ensure identical predictions from lm_lin() models where treatment is either numeric or factorial, and fit with/without an intercept.
- Adds relevant examples to predict and lm_robust and lm_lin documentation.
- Adds Molly Offer-Westort as a contributor.
- Remove functionality for using
lh_robustwith multiple hypotheses. - Restricted functionality for using
lh_robustwith clustered standard errors to CR0 standard errors.
estimatr 1.0.0
CRAN release: 2022-07-04
- Version bump to coincide with DeclareDesign package version 1.0.0
- Tests edited
estimatr 0.30.4
CRAN release: 2021-11-07
- Bug fix of tidy handling of conf.level
- Bug fix of lh_robust tidy
estimatr 0.30.0
CRAN release: 2021-01-07
- Test suite changes (skip if not installed for checking against other packages)
estimatr 0.24.0
CRAN release: 2020-09-02
- tidy: rename nobs, nclusters, nblocks
- tidy: new arguments conf.int, conf.level
- Added
update.iv_robust() - Bug fix regarding fixed effects with large numbers
estimatr 0.20.0
CRAN release: 2019-09-09
- Added support for
emmeans(thanks @rvlenth)! - Fixed bug when estimating
diagnosticsiniv_robust()without explicitly specifyingse_type(issue #310) - Support for
rlang0.4.0
estimatr 0.18.0
CRAN release: 2019-05-26
- Fixed bug where collinear covariates caused fixed effects estimator to crash (issue #294)
- Added
glance.lh_robust()and fixed some issues with printing and summarizinglh_robust()objects (issues #295 and #296) - Fixes CRAN errors in testing with new
clubSandwichpackage
estimatr 0.16.0
- Add
diagnosticstoiv_robust() - Add
glance()methods for all estimators - Add
lh_robust()for easy interface tocar::linearHypothesis() - Fixed minor bug with a formula such as
is.na(var)in thecovariatesformula inlm_lin()(issue #283)
estimatr 0.12.0
- Fixed ambiguity about how interacted covariates were centered in
lm_lin - A series of fixes for bugs that occurred with multiple outcomes (multivariate regression):
- Fixed bug pointed out by James Pustejovsky via the
sandwichversion 2.5-0 and off-diagonal blocks of multivariate regression vcov matrices - Fixed bugs in
lm_linpreventing multivariate regression - Fixed bug that truncated degrees of freedom with “CR2” standard errors
- Fixed bug that returned incorrect R-squared for the second or later outcomes
- Fixed bug pointed out by James Pustejovsky via the
- Fixed bug preventing integration with latest version of
margins - Fixed bug with
difference_in_meanswhen usingcondition1andcondition2to subset a treatment vector with more than two treatment conditions. Previous estimates and standard errors were incorrect.
estimatr 0.10.0
CRAN release: 2018-07-12
- Changed names of confidence interval columns in tidied data from
ci.lowerandci.uppertoconf.lowandconf.highto be in line with other tidy methods - Added support for
fixed_effectsthat are just one block - Added support for specifing
condition_prsinhorvitz_thompson()as a single number - Added t- and z-statistics to output
- Limit unnecessary messaging in
horvitz_thompson()
estimatr 0.8.0
CRAN release: 2018-06-02
- Added support for absorbing fixed effects in
lm_robustandiv_robust - Added
commarobustandstarprepfor stargazer integration - Added
texregsupport for 2SLS IV models - Fixed bugs for incorrect F-statistics with robust standard errors
- Refactor of main fitting engine for linear models
estimatr 0.6.0
CRAN release: 2018-03-28
- Added support for multivariate linear models
- Added support for instrumental variables regression
- Major change to name of object output elements to mostly match with
broom::tidy- old -> new
-
coefficient_names->term -
se->std.error -
p->p.values -
ci_lower->ci.lower -
ci_upper->ci.upper - All of the above changes are also made to the column names on the output of
tidy; furthermore fortidyobjects one further name change fromcoefficients->estimatehas been made
- Fixed bug that caused variances, standard errors, and p-values to be wrong for weighted “CR2” variance estimation
- Fixed incorrect estimates when both weights and blocks were passed to
difference_in_means - Rewrite NSE handling to be done by
rlang - Rewrite
na.omithandler in R - Major refactor of C++ underlying regression estimators
estimatr 0.4.0
CRAN release: 2018-02-15
- Changed suffix added to centered variables in
lm_lin()from_barto_c - Added all vignettes to
.Rbuildignore, only available on website now - Fixed
lm_robust_helper.cppalgorithm to not catch own exception and to deal withvalgrindmemory errors - Bugfix where passing a formula as an object within a function would fail
- Simplified some tests for various CRAN test platforms