vcov.wglm {riskRegression}R Documentation

Variance-covariance for IPCW Logistic Regressions

Description

Compute the variance-covariance matrix of the estimated model parameters of IPCW logistic regressions.

Usage

## S3 method for class 'wglm'
vcov(object, times = NULL, type = "robust", simplify = TRUE, ...)

Arguments

object

a wglm object.

times

[numeric vector] time points at which the variance-covariance matrix should be output.

type

[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")?

simplify

[logical] should the ouput be converted to a matrix when only one timepoint is requested. Otherwise will always return a list.

...

Not used.


[Package riskRegression version 2025.05.20 Index]