vcovHC.prais | R Documentation |
Semirobust covariance matrix estimators for models of class "prais"
.
## S3 method for class 'prais'
vcovHC(x, type = c("const", "HC1", "HC0"), ...)
x |
an object of class |
type |
a character string specifying the estimation type. |
... |
not used. |
vcovHC
is a function for estimating a robust covariance matrix of parameters for
the Prais-Winsten estimator. The weighting schemes specified by type are analogous to those in
vcovHC
in package sandwich
with the caveat that only "const"
, "HC0"
and "HC1"
are available.
An object of class "matrix" containing the estimate of the asymptotic covariance matrix of coefficients.
vcovHC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.