Install
GitHub
remotes::install_github("Larsvanderlaan/calibratedDML")
Install
The repository contains the R package alongside the Python
package. GitHub is the current public install path from this
repository, with built-in nuisance model choices plus optional
sl3 and SuperLearner integration.
Install
remotes::install_github("Larsvanderlaan/calibratedDML")
Optional
The package can integrate with sl3 and
SuperLearner when those ecosystems are available.
Output
Standard fitted objects support summary() for a
quick table of arm means and treatment-vs-control contrasts.
Entry Points
Fit the standard estimator from raw data or start from supplied cross-fitted nuisance estimates.
Main R entry point
calibrated_dml()mu_mat and pi_mat are omittedwald, bootstrap, and jackknifeSupplied nuisance estimates
calibrated_dml_from_nuisances()mu_mat and pi_mat directlyInference
Choose the inference mode explicitly. The standard estimator and the adaptive page document different estimator families with different guarantees.
calibrated_dml() is the main entry point for
calibrated DML with categorical treatment.
The standard estimator supports
"wald", "bootstrap", and
"jackknife". Choose the uncertainty layer
explicitly rather than inheriting it by accident.
The separate Adaptive page documents the binary-treatment adaptive estimator family.
It has different guarantees and its own inferential scope.