eif.Rd
Compute the Shift Parameter Estimate and the Efficient Influence Function
eif(
y,
qn,
qn_unscaled,
hn,
estimator = c("tmle", "onestep"),
fluc_mod_out = NULL
)
A numeric
vector of the observed outcomes.
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 est_Q
. These values
have been scaled to 0-1.
Same as qn but not scaled - kept in original outcome scale.
An object providing values of the auxiliary ("clever") covariate,
constructed from the treatment mechanism and required for targeted minimum
loss-based estimation. This object object should be passed in after being
constructed by a call to the internal function est_Hn
.
The type of estimator to be fit, either "tmle"
for
targeted maximum likelihood estimation or "onestep"
for a one-step
estimator.
An object giving values of the logistic tilting model
for targeted minimum loss estimation. This type of object should be the
output of the internal routines to perform this step of the TML estimation
procedure, as given by fit_fluctuation
.
A list
containing the parameter estimate, estimated variance
based on the efficient influence function (EIF), the estimate of the EIF
incorporating inverse probability of censoring weights, and the estimate of
the EIF without the application of such weights.
Estimate the value of the causal parameter alongside statistical inference for the parameter estimate based on the efficient influence function of the target parameter.