summary.cond {cond} | R Documentation |
Summary Method for Objects of Class “cond”
Description
Returns a summary list for objects of class cond
.
Usage
## S3 method for class 'cond'
summary(object, alpha = 0.05, test = NULL, all = FALSE, coef = TRUE,
int = ifelse( (is.null(test) || all), TRUE, FALSE),
digits = NULL, ...)
Arguments
object |
a |
alpha |
vector of levels for confidence intervals. The default is 5%. |
test |
vector of values of the parameter of interest one wants to test
for. If |
all |
logical value; if |
coef |
logical value; if |
int |
logical value; if |
digits |
number of significant digits to be printed. The default depends
on the value of |
... |
absorbs any additional argument. |
Details
This function is a method for the generic function summary()
for objects of class cond
. It can be invoked by calling
summary
or directly summary.cond
for an object of the
appropriate class.
Value
A list is returned with the following components.
coefficients |
a |
conf.int |
a matrix containing, for each level given in |
signif.tests |
a list with two elements. The first ( |
call |
the function call that created the |
formula |
the model formula. |
family |
the variance function. |
offset |
the covariate occurring in the model formula whose coefficient represents the parameter of interest. |
alpha |
vector of levels used to compute the confidence intervals. |
hypotheses |
values for the parameter of interest that have been tested for. |
diagnostics |
information and nuisance parameters aspects; see
|
n.approx |
number of output points that have been calculated exactly. |
all |
logical value; if |
cf |
logical value; if |
int |
logical value; if |
is.scalar |
a logical value indicating whether there are any nuisance
parameters. If |
digits |
number of significant digits to be printed. |
Note
The amount of information calculated may vary depending on whether there are any nuisance parameters.
See Also
Examples
## Crying Babies Data
data(babies)
babies.glm <- glm(formula = cbind(r1, r2) ~ day + lull - 1,
family = binomial, data = babies)
babies.cond <- cond(object = babies.glm, offset = lullyes)
summary(babies.cond, test = 0, coef = FALSE)