cluster_matrix: Cluster-robust Standard Error Estimation
Description
cluster_matrix
is a helper for computation of cluster-robust standard errors.
Usage
cluster_matrix(e, cluster, x)
Value
Gives the XeeX matrix.
Arguments
- e
Vector of residuals.
- cluster
Vector of clusters.
- x
Regressor matrix.