Computes the cluster corrected covariance matrix of estimates
1 | cluster.var(Y, X, beta, groupvar, const = TRUE)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.