dot-clusterSE: Calculating Cluster-robust Standard Errors

Description Usage Arguments Value

Description

Calculating Cluster-robust Standard Errors

Usage

1
.clusterSE(X, e, clust, type = "HC1")

Arguments

X

model matrix

e

residual vector

clust

integer vector indicating cluster membership

type

type of the sandwich estimator. Must be one of HC0 or HC1.

Value

returns cluster-robust variance-covariance matrix


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