cluster.var: Cluster corrected covariance matrix

Description Usage Arguments

View source: R/cluster.var.R

Description

Computes the cluster corrected covariance matrix of estimates

Usage

1
cluster.var(Y, X, beta, groupvar, const = TRUE)

Arguments

Y

The Y data used in estimation

X

The X data used in estimation

beta

The vector of linear regression estimates

groupvar

A vector of group categorical variables assigning each element of Y to a group

const

If TRUE, adds a constant column to the data


samuelhigbee/myRtools documentation built on Sept. 25, 2021, 1:26 a.m.