Compute the Pooled Shift Parameter Estimate From the Fold Specific Results For the Effect Modification Parameter

calc_pooled_em_shifts(
  y,
  em_shift_results,
  estimator = c("tmle", "onestep"),
  fluc_mod_out = NULL,
  w_names,
  a_names,
  fluctuation
)

Arguments

y

A numeric vector of the observed outcomes.

em_shift_results

Shift results for effect modification found across the folds.

estimator

Type of estimator to use (TMLE or one-step)

fluc_mod_out

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.

w_names

Names of covariates

a_names

Names of exposure

fluctuation

type of fluctuation to use

Value

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.

Details

Estimate the value of the pooled causal parameter alongside statistical inference for the parameter estimate based on the nuisance parameters from the fold specific results.