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:Nima Hejazi [aut, cre, cph], David Benkeser [aut], Mark van der Laan [aut, ths], Rachael Phillips [ctb]

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

On CRAN:

Conda:

causal-inferenceconditional-density-estimatesdensity-estimationhighly-adaptive-lassoinverse-probability-weightsmachine-learningnonparametric-regressionpropensity-score

7.61 score 18 stars 3 packages 126 scripts 320 downloads 4 exports 51 dependencies

Last updated from:e4115e9132. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK221
source / vignettesOK224
linux-release-x86_64OK197
macos-release-arm64OK176
macos-oldrel-arm64OK186
windows-develOK164
windows-releaseOK154
windows-oldrelOK154
wasm-releaseOK108

Exports:fit_haldensifyhaldensifyipw_shiftpredict.haldensify

Dependencies:abindassertthatclicodetoolscpp11data.tabledigestdplyrfarverforeachfuturefuture.applygenericsggplot2glmnetglobalsgluegtablehal9001isobanditeratorslabelinglatticelifecyclelistenvmagrittrMatrixmatrixStatsorigamiparallellypillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangS7scalesshapestringistringrsurvivaltibbletidyselectutf8vctrsviridisLitewithr

Highly Adaptive Lasso Conditional Density Estimation

Rendered fromintro_haldensify.Rmdusingknitr::rmarkdownon May 12 2026.

Last update: 2025-09-02
Started: 2020-05-27