Package: haldensify 0.2.8
haldensify: Highly Adaptive Lasso Conditional Density Estimation
An algorithm for flexible conditional density estimation based on application of pooled hazard regression to an artificial repeated measures dataset constructed by discretizing the support of the outcome variable. To facilitate flexible estimation of the conditional density, the highly adaptive lasso, a non-parametric regression function shown to estimate cadlag (RCLL) functions at a suitably fast convergence rate, is used. The use of pooled hazards regression for conditional density estimation as implemented here was first described for by Díaz and van der Laan (2011) <doi:10.2202/1557-4679.1356>. Building on the conditional density estimation utilities, non-parametric inverse probability weighted (IPW) estimators of the causal effects of additive modified treatment policies are implemented, using conditional density estimation to estimate the generalized propensity score. Non-parametric IPW estimators based on this can be coupled with undersmoothing of the generalized propensity score estimator to attain the semi-parametric efficiency bound (per Hejazi, Díaz, and van der Laan <doi:10.48550/arXiv.2205.05777>).
Authors:
haldensify_0.2.8.tar.gz
haldensify_0.2.8.zip(r-4.7)haldensify_0.2.8.zip(r-4.6)haldensify_0.2.8.zip(r-4.5)
haldensify_0.2.8.tgz(r-4.6-any)haldensify_0.2.8.tgz(r-4.5-any)
haldensify_0.2.8.tar.gz(r-4.7-any)haldensify_0.2.8.tar.gz(r-4.6-any)
haldensify_0.2.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
haldensify/json (API)
NEWS
| # Install 'haldensify' in R: |
| install.packages('haldensify', repos = c('https://nhejazi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/nhejazi/haldensify/issues
Pkgdown/docs site:https://codex.nimahejazi.org
causal-inferenceconditional-density-estimatesdensity-estimationhighly-adaptive-lassoinverse-probability-weightsmachine-learningnonparametric-regressionpropensity-score
Last updated from:e4115e9132. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 221 | ||
| source / vignettes | OK | 224 | ||
| linux-release-x86_64 | OK | 197 | ||
| macos-release-arm64 | OK | 176 | ||
| macos-oldrel-arm64 | OK | 186 | ||
| windows-devel | OK | 164 | ||
| windows-release | OK | 154 | ||
| windows-oldrel | OK | 154 | ||
| wasm-release | OK | 108 |
Exports:fit_haldensifyhaldensifyipw_shiftpredict.haldensify
Dependencies:abindassertthatclicodetoolscpp11data.tabledigestdplyrfarverforeachfuturefuture.applygenericsggplot2glmnetglobalsgluegtablehal9001isobanditeratorslabelinglatticelifecyclelistenvmagrittrMatrixmatrixStatsorigamiparallellypillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangS7scalesshapestringistringrsurvivaltibbletidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Confidence Intervals for IPW Estimates of the Causal Effects of Stochatic Shift Interventions | confint.ipw_haldensify |
| HAL Conditional Density Estimation in a Cross-validation Fold | cv_haldensify |
| Fit Conditional Density Estimation over a Sequence of HAL Models | fit_haldensify |
| Generate Augmented Repeated Measures Data for Pooled Hazards Regression | format_long_hazards |
| Cross-validated HAL Conditional Density Estimation | haldensify |
| IPW Estimator of the Causal Effects of Additive Modified Treatment Policies | ipw_shift |
| Map Predicted Hazard to Predicted Density for a Single Observation | map_hazard_to_density |
| Plot Method for HAL Conditional Density Estimates | plot.haldensify |
| Prediction Method for HAL Conditional Density Estimation | predict.haldensify |
| Print: Highly Adaptive Lasso Conditional Density Estimates | print.haldensify |
| Print: IPW Estimates of the Causal Effects of Stochatic Shift Interventions | print.ipw_haldensify |
