MonteCarloSimClass: R6 class for evaluating different plug-in estimators via...

Description Usage Format Details Methods See Also

Description

MonteCarloSimClass only resamples A under the intervention function g_star, never W or E. For each MC simulation, it firstly treats model.Q.init as the fitted models for E[Y|A,W,E], then estimate psi_n using Monte-Carlo integration. i.e., average of n predicted E(Y|A=a, W=w,E=e) where a is a vector of n new exposures randomly drawn under g_star. Take as many iterations as needed until convergence of ψ^{I}_n (or ψ^{II}_n) occurs.

Usage

1

Format

An R6Class generator object

Details

Methods

new(OData.ObsP0, OData.gstar, ...)

Instantiate an new instance of MonteCarloSimClass.

get.gcomp(m.Q.init)

Predict QY.init = E[Y_{g^*}] based on the initial model fit model.Q.init.

get.tmleCov(model.Q.star.cov, model.h.fit)

Update QY.init based on the targeting model model.Q.star.cov and the model for clever covriate h model.h.fit.

get.tmleCov(model.Q.star.cov, model.h.fit)

Update QY.init based on the targeting model model.Q.star.cov and the model for clever covriate h model.h.fit.

get.tmleInt(model.Q.star.int)

Update QY.init based on the targeting model model.Q.star.int.

get.fiW()

Get an estimate of fiW (hold ALL W's fixed).

See Also

tmleCom_Options, DatKeepClass, RegressionClass, tmleCommunity


chizhangucb/tmleCommunity documentation built on May 20, 2019, 3:34 p.m.