Learn R Programming

mpcmp (version 0.3.6)

vcov.cmp: Extracting the Variance-Covariance Matrix from a COM-Poisson Model Fit

Description

Extracting the Variance-Covariance Matrix from a COM-Poisson Model Fit

Usage

# S3 method for cmp
vcov(object, ...)

Arguments

object

an object class 'cmp' object, obtained from a call to glm.cmp

...

other arguments passed to or from other methods (currently unused).

Value

The method will return the estimated covariances between the parameter estimates of the fitted cmp model.

Examples

Run this code
# NOT RUN {
data(attendance)
M.attendance <- glm.cmp(daysabs~ gender+math+prog, data=attendance)
vcov(M.attendance)

# }

Run the code above in your browser using DataLab