Extracting the Variance-Covariance Matrix from a COM-Poisson Model Fit
Source:R/summarize_extract.R
vcov.cmp.RdExtracting the Variance-Covariance Matrix from a COM-Poisson Model Fit
Usage
# S3 method for class 'cmp'
vcov(object, ...)Value
The method will return the estimated covariances between the parameter estimates of the fitted cmp model.
Examples
data(attendance)
M.attendance <- glm.cmp(daysabs ~ gender + math + prog, data = attendance)
vcov(M.attendance)
#> (Intercept) gendermale math progAcademic
#> (Intercept) 0.0362548759 -6.220522e-03 -2.500916e-04 -2.278627e-02
#> gendermale -0.0062205223 1.372357e-02 5.319841e-06 -7.355545e-04
#> math -0.0002500916 5.319841e-06 5.692438e-06 1.039728e-05
#> progAcademic -0.0227862654 -7.355545e-04 1.039728e-05 2.873856e-02
#> progVocational -0.0189576465 -5.111469e-04 -7.981398e-05 2.253264e-02
#> progVocational
#> (Intercept) -1.895765e-02
#> gendermale -5.111469e-04
#> math -7.981398e-05
#> progAcademic 2.253264e-02
#> progVocational 3.590207e-02