integrate_psi_aw_g.Rd
Pseudo regression integration
integrate_psi_aw_g(
at,
av,
covars,
w_names,
pseudo_model,
g_model,
exposure,
delta,
psi_aw,
n_samples,
density_type,
integration_method = "AQ"
)
Training data
Validation data
Covariates used in the pseudo model
Baseline covariates used in the g model
Pseudo regression model
The training data
A numeric
indicating the magnitude of the shift to be
computed for the exposure A
. This is passed to the internal
Object containing a set of instantiated learners from the sl3, to be used in fitting an ensemble model.
Vector of predictions from pseudo regression model
Number of MC samples for integration
Type of density estimation used
Type of integration method to be used
A data.table
with two columns, containing estimates of the
outcome mechanism at the natural value of the exposure Q(A, W) and an
upshift of the exposure Q(A + delta, W).
Does the double integration as described in lemma 1