Covariance matrix for the estimator of the structural parameters
from objects returned by felm. The covariance is computed
from the hessian, the scores, or a combination of both after convergence.
Usage
# S3 method for felm
vcov(
object,
type = c("hessian", "outer.product", "sandwich", "clustered"),
...
)
Value
A named matrix of covariance estimates.
Arguments
object
an object of class "felm".
type
the type of covariance estimate required. "hessian" refers
to the inverse of the negative expected hessian after convergence and is the
default option. "outer.product" is the outer-product-of-the-gradient
estimator. "sandwich" is the sandwich estimator (sometimes also
referred as robust estimator), and "clustered" computes a clustered
covariance matrix given some cluster variables.