confint.glm_hP: Confidence Intervals for glm_hP Fits

confint.glm_hPR Documentation

Confidence Intervals for glm_hP Fits

Description

Computes confidence intervals for one or more parameters in a "glm_hP" object.

Usage

## S3 method for class 'glm_hP'
confint(object, parm, level = 0.95, ...)

Arguments

object

a fitted object of class inheriting from "glm_hP".

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the confidence level required.

...

additional argument(s) for methods.

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each beta parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

Examples

## Estimate the 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)

## Compute confidence intervals for parameters
confint(fit)

DGLMExtPois documentation built on Sept. 4, 2023, 5:06 p.m.