| vcovHC.prais {prais} | R Documentation |
Semirobust Covariance Matrix Estimators
Description
Semirobust covariance matrix estimators for models of class "prais".
Usage
## S3 method for class 'prais'
vcovHC(x, type = c("const", "HC1", "HC0"), ...)
Arguments
x |
an object of class |
type |
a character string specifying the estimation type. |
... |
not used. |
Details
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.
Value
An object of class "matrix" containing the estimate of the asymptotic covariance matrix of coefficients.
See Also
[Package prais version 1.1.2 Index]