Changelog
Source:NEWS.md
ddml 0.9.0
- Adds
ddml_attgt()for staggered DiD andddml_apo()for average potential outcomes. - Adds
ddml_policy()for multi-action policy value estimation. - Adds
ddml()constructor for custom DML estimators with user-supplied scores. - Adds
lincom()for inference on linear combinations. Supports computation of dynamic average treatment effects vialincom_weights_did(). - Influence-function-based inference via the
ralclass; all estimators now inherit fromral. - Adds
ddml_rep()andddml_replicate()for repeated cross-fitting with median, mean, or spectral-norm aggregation. - Adds
diagnostics()for MSPE, R-squared, stacking weights, and CVC tests. - Adds
fitted/splitspass-through to allddml_*()estimators. - New S3 methods:
plot(),as.list(),hatvalues(),nobs(), multi-ensembletidy()/glance(). - Adds uniform confidence bands via multiplier bootstrap (
confint(uniform = TRUE)). - Adds HC0/HC3 variance estimators, parallel computation, stratified cross-fitting, cluster-aware splitting, and input validation.
- Adds
broomcompatibility. - Fixes
ddml_fpliv()with custom weights. - Breaking changes:
- Inference internals use
$inf_funcinstead of$scores/$J/$psi_a/$psi_b. - Utility functions (
crosspred,crossval,ensemble,ensemble_weights,shortstacking) no longer acceptZ/newZ. Pre-concatenate instruments with covariates (e.g.,cbind(X, Z)). -
crosspred()andshortstacking()dropcompute_insample_predictionsandinsample_fittedoutput. -
ddml_fpliv()drops theenforce_LIEargument. -
shortstacking()dropsshortstack_y. -
ddml_*()estimators dropsubsamples,cv_subsamples,subsamples_byD,cv_subsamples_byD. Use the newsplitsparameter instead.
- Inference internals use
ddml 0.3.0
CRAN release: 2024-10-02
- Implements one-way clustered inference.
- Increases defaults for
sample_foldsandcv_foldsto10. - Fixes typo in
auxiliary_Xarguments.
ddml 0.2.2
CRAN release: 2024-06-26
- Changes
ddml::ols()default toconst=TRUE. - Adds probability forest compatibility to
ddml::mdl_ranger(). - Adds propensity score trimming option to
ddml::ddml_ate(),ddml::ddml_att(), andddml::ddml_late(). - Fixes ATE and LATE scores.
- Fixes output of
ddml::print.summary.ddml_plmandddml::print.summary.ddml_ate(#57).
ddml 0.2.0
CRAN release: 2024-01-09
- Adds support for the average treatment effect on the treated estimator.
- Adds support for local average treatment effect estimation with perfect compliance or perfect non-compliance.
- Adds support for custom ensemble weights.
- Adds article on integration with the
didpackage. - Adds
ddml::mdl_glmwrapper forstats::glm().