cluster_matrix: Cluster-robust Standard Error Estimation

View source: R/utils.R

cluster_matrixR 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.


tomzylkin/penppml documentation built on Feb. 13, 2025, 9:10 p.m.