cluster_matrix {penppml}R Documentation

Cluster-robust Standard Error Estimation

Description

cluster_matrix is a helper for computation of cluster-robust standard errors.

Usage

cluster_matrix(e, cluster, x)

Arguments

e

Vector of residuals.

cluster

Vector of clusters.

x

Regressor matrix.

Value

Gives the XeeX matrix.


[Package penppml version 0.2.3 Index]