confint.glm_hP {DGLMExtPois} | R 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 |
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)
[Package DGLMExtPois version 0.2.3 Index]