View source: R/ltmleMediation_TMLECalcs.R
CalcIPTWMediation | R Documentation |
Calculates IPTW estimate.
CalcIPTWMediation( inputs, cum.g.abar, cum.qz.abar, cum.qz.abar.prime, msm.weights )
inputs |
Output of |
cum.g.abar |
Cumulative g obtained from |
cum.qz.abar |
Cumulative Q for Z obtained from |
cum.qz.abar.prime |
Cumulative Q for Z obtained from |
msm.weights |
Marginal Structural Model weights for each sample. |
Returns IPTW estimate and normalized influence curve for IPTW.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.