calcSigma {tmle} | R Documentation |
Calculate Variance-Covariance Matrix for MSM Parameters (calcSigma)
Description
An internal function called by the tmleMSM
function to calculate the variance-covariance matrix of the
parameter estimates based on the influence curve of the specified MSM.
Usage
calcSigma(hAV, gAVW, Y, Q, mAV, covar.MSM, covar.MSMA0, covar.MSMA1, I.V,
Delta, ub, id, family)
Arguments
hAV |
values used in numerator of weights applied to the estimation procedure |
gAVW |
|
Y |
continuous or binary outcome variable |
Q |
estimated |
mAV |
predicted values for |
covar.MSM |
covariate values used as predictors for the MSM when |
covar.MSMA0 |
covariate values used as predictors for the MSM when |
covar.MSMA1 |
covariate values used as predictors for the MSM when |
I.V |
indicator that observation is in stratum of interest |
Delta |
indicator of missing outcome. |
ub |
upper bound on weights |
id |
subject identifier |
family |
‘gaussian’ for continuous outcomes, ‘binomial’ for binary outcomes |
Value
sigma |
influence-curve based variance-covariance matrix. See Rosenblum&vanderLaan2010 for details. |
Author(s)
Susan Gruber
See Also
tmle
,
estimateQ
,
estimateG
,
tmleMSM