Description Usage Arguments Details Methods (by class) See Also Examples
This is a generic S3 function that gets the variance-covariance matrix of fixed effects of a statistical model, implemented on a wide range of models and that can be extended to new models.
1 2 3 4 5 6 7 | vcov_fixcoef(model, ...)
## Default S3 method:
vcov_fixcoef(model, ...)
## S3 method for class 'survreg'
vcov_fixcoef(model, ...)
|
model |
a fitted statistical model |
... |
argument unused by |
It must return variance-covariance for fixed effects of a model, not random effects nor scale parameters.
The rownames
and colnames
of the returned matrix
must be consistent with names
of fixcoef(object)
.
The functions vcov_fixcoef
and fixcoef
would be pointless if the behavior of
vcov
and coef
were not inconsistent from package to package.
fixcoef
and vcov_fixcoef
, together with df_for_wald
are used by p_value_contrast.default
default
: default implementation, simple proxy of vcov(model)
survreg
: implementation for survreg, removing the extra column for Scale
Other Wald-related functions:
df_for_wald()
,
fixcoef()
,
p_value_contrast()
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.