Compute the variance-covariance matrix of the estimated model parameters of IPCW logistic regressions.
# S3 method for wglm
vcov(object, times = NULL, type = "robust", simplify = TRUE, ...)
a wglm object.
[numeric vector] time points at which the variance-covariance matrix should be output.
[character] should the robust variance-covariance matrix be computing accounting for the uncertainty of the IPCW ("robust"
)
or ignoring the uncertainty of the IPCW ("robust-wknown"
), or model-based ignoring the uncertainty of the IPCW ("model-wknown"
)?
[logical] should the ouput be converted to a matrix when only one timepoint is requested. Otherwise will always return a list.
Not used.