Learn R Programming

DGLMExtPois (version 0.2.3)

summary.glm_hP: Summarizing hyper-Poisson Fits

Description

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

Usage

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

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

Arguments

object

an object of class "glm_hP", usually, a result of a call to glm.hP.

...

further arguments passed to or from other methods.

x

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

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 hyper-Poisson model

Bids$size.sq <- Bids$size ^ 2
fit <- glm.hP(formula.mu = numbids ~ leglrest + rearest + finrest +
              whtknght + bidprem + insthold + size + size.sq + regulatn,
              formula.gamma = numbids ~ 1, data = Bids)

## Obtain a summary of the fitted model

summary(fit)

Run the code above in your browser using DataLab