onestep_txshift {txshift} | R Documentation |
One-Step Estimate of Counterfactual Mean of Stochastic Shift Intervention
Description
One-Step Estimate of Counterfactual Mean of Stochastic Shift Intervention
Usage
onestep_txshift(
data_internal,
C_samp = rep(1, nrow(data_internal)),
V = NULL,
delta,
samp_estim,
gn_cens_weights,
Qn_estim,
Hn_estim,
eif_reg_type = c("hal", "glm"),
samp_fit_args,
ipcw_efficiency = TRUE
)
Arguments
data_internal |
A |
C_samp |
A |
V |
The covariates that are used in determining the sampling procedure
that gives rise to censoring. The default is |
delta |
A |
samp_estim |
An object providing the value of the censoring mechanism
evaluated across the full data. This object is passed in after being
constructed by a call to the internal function |
gn_cens_weights |
TODO: document |
Qn_estim |
An object providing the value of the outcome evaluated after
imposing a shift in the treatment. This object is passed in after being
constructed by a call to the internal function |
Hn_estim |
An object providing values of the auxiliary ("clever")
covariate, constructed from the treatment mechanism and required for
targeted minimum loss estimation. This object object should be passed in
after being constructed by a call to the internal function |
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 |
samp_fit_args |
A |
ipcw_efficiency |
Whether to invoke an augmentation of the IPCW-TMLE
procedure that performs an iterative process to ensure efficiency of the
resulting estimate. The default is |
Details
Invokes the procedure to construct a one-step estimate of the counterfactual mean under a modified treatment policy.
Value
S3 object of class txshift
containing the results of the
procedure to compute a one-step estimate of the treatment shift parameter.