Package: HOIF 0.2.0
HOIF: Higher-Order Influence Function Estimators for the Average Treatment Effect
Implements Higher-Order Influence Function (HOIF) estimators of the Average Treatment Effect (ATE), following Robins et al. (2008) <doi:10.1214/193940307000000527>, Liu et al. (2017) <doi:10.48550/arXiv.1705.07577> and Liu and Li (2023) <doi:10.48550/arXiv.2302.08097>. Estimators of any order are supported, with optional covariate basis transformations (B-splines, Fourier) and optional K-fold sample splitting (cross-fitting) for improved finite-sample performance. The core higher-order U-statistics are computed exactly via the 'ustats' package, an R interface to the 'Python' package 'u-stats'; the underlying algorithm and its computational complexity are analyzed in Chen, Zhang and Liu (2025) <doi:10.48550/arXiv.2508.12627>. A pure R implementation (up to order 6) is also provided as a fallback that does not require 'Python'.
Authors:
HOIF_0.2.0.tar.gz
HOIF_0.2.0.tar.gz(r-4.7-any)HOIF_0.2.0.tar.gz(r-4.6-any)
HOIF_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
HOIF/json (API)
| # Install 'HOIF' in R: |
| install.packages('HOIF', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cxy0714/hoif/issues
Pkgdown/docs site:https://cxy0714.github.io
Last updated from:c28d25f483. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 147 | ||
| source / vignettes | OK | 196 | ||
| linux-release-x86_64 | OK | 156 | ||
| wasm-release | OK | 145 |
Exports:build_Ejcalculate_u_statistics_pure_r_sixcompute_basis_matrixcompute_gram_inversecompute_hoif_estimatorscompute_residualshoif_atetransform_covariates
Dependencies:corpcorherejsonlitelatticeMASSMatrixpngrappdirsRcppRcppEigenRcppTOMLreticulaterlangrprojrootRSpectraSKATSMUTSPAtestustatswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build E_j tensor structure | build_Ej |
| Compute U-statistics HOIF-type from Order 2 to 6 in pure R code. | calculate_u_statistics_pure_r_six |
| Compute basis projection matrices | compute_basis_matrix |
| Compute inverse of weighted Gram matrix | compute_gram_inverse |
| Compute HOIF Estimators for ATE | compute_hoif_estimators |
| Compute residuals for both treatment groups | compute_residuals |
| Main function: HOIF estimators for ATE with optional sample splitting | hoif_ate |
| Plot convergence of ATE estimates | plot.hoif_ate |
| Print method for hoif_ate objects | print.hoif_ate |
| HOIF Estimators for Average Treatment Effect | transform_covariates |
