Package: haldensify 0.2.7

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 sieve estimation (undersmoothing) of the generalized propensity score to attain the semi-parametric efficiency bound (per Hejazi, Benkeser, 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.7.tar.gz
haldensify_0.2.7.zip(r-4.5)haldensify_0.2.7.zip(r-4.4)haldensify_0.2.7.zip(r-4.3)
haldensify_0.2.7.tgz(r-4.5-any)haldensify_0.2.7.tgz(r-4.4-any)haldensify_0.2.7.tgz(r-4.3-any)
haldensify_0.2.7.tar.gz(r-4.5-noble)haldensify_0.2.7.tar.gz(r-4.4-noble)
haldensify_0.2.7.tgz(r-4.4-emscripten)haldensify_0.2.7.tgz(r-4.3-emscripten)
haldensify.pdf |haldensify.html
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

On CRAN:

Conda:

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

7.34 score 17 stars 3 packages 72 scripts 369 downloads 3 exports 55 dependencies

Last updated 6 months agofrom:58822ff44f. Checks:5 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 19 2025
R-4.5-winNOTEFeb 19 2025
R-4.5-macNOTEFeb 19 2025
R-4.5-linuxNOTEFeb 19 2025
R-4.4-winOKFeb 19 2025
R-4.4-macOKFeb 19 2025
R-4.3-winOKFeb 19 2025
R-4.3-macOKFeb 19 2025

Exports:fit_haldensifyhaldensifyipw_shift

Dependencies:abindassertthatclicodetoolscolorspacedata.tabledigestdplyrfansifarverforeachfuturefuture.applygenericsggplot2glmnetglobalsgluegtablehal9001isobanditeratorslabelinglatticelifecyclelistenvmagrittrMASSMatrixmatrixStatsmgcvmunsellnlmeorigamiparallellypillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangscalesshapestringistringrsurvivaltibbletidyselectutf8vctrsviridisLitewithr

Highly Adaptive Lasso Conditional Density Estimation

Rendered fromintro_haldensify.Rmdusingknitr::rmarkdownon Feb 19 2025.

Last update: 2024-09-22
Started: 2020-05-27