dot-robustSE: Calculating Heteroskedasticity-robust Standard Errors

Description Usage Arguments Details Value

Description

Calculating Heteroskedasticity-robust Standard Errors

Usage

1
.robustSE(X, e, type = "HC1")

Arguments

X

model matrix

e

residual vector

type

type of the sandwich estimator. Must be one of HC0, HC1, HC2, HC3, or HC4.

Details

The different types of robust estimators differ in their degrees-of-freedom corrections for finite sample bias. See vignette for a detailed description.

Value

returns heteroskedasticity robust variance-covariance matrix


baruuum/jars documentation built on Nov. 3, 2019, 2:06 p.m.