vcovHC {EpiForsk}R Documentation

Heteroscedasticity-Consistent Covariance Matrix

Description

Calculate Heteroscedasticity-Consistent Covariance Matrix from a linear model using the HC3 method from sandwich.

Usage

vcovHC(x)

Arguments

x

lm object

Value

A matrix containing the covariance matrix estimate.

Examples

1+1

[Package EpiForsk version 0.1.1 Index]