Description Usage Arguments Value
Heteroskedasticity-Consistent Covariance Matrix Estimation
1 2 3 4 5 6 7 8 |
x |
a fitted model object. |
type |
a character string specifying the estimation type. For details see below. |
omega |
a vector or a function depending on the arguments residuals (the working residuals of the model), diaghat (the diagonal of the corresponding hat matrix) and df (the residual degrees of freedom). For details see below. |
sandwich |
logical. Should the sandwich estimator be computed? If set to FALSE only the meat matrix is returned. |
... |
arguments passed to sandwich (in vcovHC) and estfun (in meatHC), respectively. |
A matrix containing the covariance matrix estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.