| vcov.chandwich {chandwich} | R Documentation |
Calculate the variance-covariance matrix for an object of class "chandwich"
Description
vcov method for class "chandwich".
Usage
## S3 method for class 'chandwich'
vcov(object, complete = FALSE, adjusted = TRUE, ...)
Arguments
object |
an object of class "chandwich", a result of a call to
|
complete |
A logical scalar. If The default is |
adjusted |
A logical scalar. If |
... |
Additional optional arguments. At present no optional arguments are used. |
Details
The variance-covariance matrix is based on
attributes(object)$adjVC for adjusted = TRUE and
attributes(object)$VC for adjusted = FALSE.
These return the estimate variance-covariance matrix of only the
free parameters.
Value
A numeric matrix. The dimensions will be named if names were
provided in the call to adjust_loglik.
See Also
coef.chandwich: coef method for
class "chandwich".
summary.chandwich: summary method for
class "chandwich".
adjust_loglik to adjust a user-supplied
loglikelihood.