Iterative IPCW Update Procedure of Augmented Efficient Influence Function
Source:R/eifs.R
ipcw_eif_update.RdIterative IPCW Update Procedure of Augmented Efficient Influence Function
Arguments
- data_internal
A
data.tablecontaining of the observations selected into the second-phase sample.- C_samp
A
numericindicator for missingness due to exclusion the from second-stage sample.- V
A
data.tablegiving the values across all observations of all variables that play a role in the censoring mechanism.- ipc_mech
A
numericvector of the censoring mechanism estimates all of the observations, only for the two-phase sampling mechanism. Note well that these values do NOT account for censoring from loss to follow-up.- ipc_weights
A
numericvector of inverse probability of censoring weights, including such weights for censoring due to loss to follow-up. Without loss to follow-up, these are equivalent toC_samp / ipc_mechin an initial run of this procedure.- Qn_estim
A
data.tablecorresponding to the outcome regression. This is produced by invoking the internal functionest_Q.- Hn_estim
A
data.tablecorresponding to values produced in the computation of the auxiliary ("clever") covariate. This is produced easily by invoking the internal functionest_Hn.- estimator
The type of estimator to be fit, either
"tmle"for targeted maximum likelihood estimation or"onestep"for a one-step estimator.- fluctuation
A
charactergiving the type of regression to be used in traversing the fluctuation submodel. The choices are "weighted" and "standard".- flucmod_tol
A
numericindicating the largest value to be tolerated in the fluctuation model for the targeted minimum loss estimator.- eif_reg_type
Whether a flexible nonparametric function ought to be used in the dimension-reduced nuisance regression of the targeting step for the censored data case. By default, the method used is a nonparametric regression based on the Highly Adaptive Lasso (from hal9001). Set this to
"glm"to instead use a simple linear regression model. In this step, the efficient influence function (EIF) is regressed against covariates contributing to the censoring mechanism (i.e., EIF ~ V | C = 1).