vcov.augSIMEX {augSIMEX}R Documentation

Extract the variance-covariance matrix from the fitted augSIMEX object

Description

This function return the variance-covariance matrix from a fitted augSIMEX object

Usage

## S3 method for class 'augSIMEX'

## S3 method for class 'augSIMEX'
vcov(object, ...)

Arguments

object

the “augSIMEX" object gotten from augSIMEX function.

...

other arguments to pass to the function.

Author(s)

Qihuang Zhang and Grace Y. Yi.

See Also

vcov

Examples

data(ToyUni)
example <- augSIMEX(mainformula = Y ~ Xstar + Zstar + W, family = binomial(link = logit),
  mismodel = pi|qi ~ W, 
  meformula = Xstar ~ X + Z + W,
  data = ToyUni$Main,validationdata = ToyUni$Validation, subset = NULL,
  err.var = "Xstar", mis.var = "Zstar", err.true = "X", mis.true = "Z", 
  err.mat = NULL,
  lambda = NULL, M = 5, B = 2, nBoot = 2, extrapolation="quadratic")
vcov(example)

[Package augSIMEX version 3.7.4 Index]