Learn R Programming

DGLMExtPois (version 0.2.3)

summary.glm_CMP: Summarizing COM-Poisson Fits

Description

These functions are all methods for class "glm_CMP" or summary.glm_CMP objects.

Usage

# S3 method for glm_CMP
summary(object, ...)

# S3 method for summary.glm_CMP print( x, digits = max(3, getOption("digits") - 3), signif.stars = getOption("show.signif.stars"), ... )

Arguments

object

an object of class "glm_CMP", usually, a result of a call to glm.CMP.

...

further arguments passed to or from other methods.

x

an object of class "summary.glm_CMP", usually, a result of a call to summary.glm_CMP.

digits

the number of significant digits to use when printing.

signif.stars

logical. If TRUE, ‘significance stars’ are printed for each coefficient.

Examples

Run this code
## Fit a COM-Poisson model
Bids$size.sq <- Bids$size^2
fit <- glm.CMP(formula.mu = numbids ~ leglrest + rearest + finrest +
               whtknght + bidprem + insthold + size + size.sq + regulatn,
               formula.nu = numbids ~ 1, data = Bids)

## Obtain a summary of the fitted model

summary(fit)

Run the code above in your browser using DataLab