Description Usage Arguments Details Value
Calculating Heteroskedasticity-robust Standard Errors
1 |
X |
model matrix |
e |
residual vector |
type |
type of the sandwich estimator. Must be one of HC0, HC1, HC2, HC3, or HC4. |
The different types of robust estimators differ in their degrees-of-freedom corrections for finite sample bias. See vignette for a detailed description.
returns heteroskedasticity robust variance-covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.