compute_hoif_estimators.RdCompute HOIF Estimators for ATE
compute_hoif_estimators(
residuals,
B_matrices,
m = 7,
backend = "torch",
pure_R_code = FALSE
)A list containing the computed residuals: `R1`, `r1`, `R0`, and `r0`.
A list containing the projection-like basis matrices: `B1` and `B0`.
Integer. The maximum order of the HOIF estimator.
Character. The computation backend for the `ustat` package; either "torch" (default) or "numpy".
Logical. Whether to use a native R implementation. This serves as a fallback when the `reticulate` environment (Python) encounters configuration issues. Note: The pure R implementation only supports up to the 6th order ($m = 6$).
A list of HOIF estimators (ATE, HOIF, IIFF) for orders $l = 2, ..., m$.