confint.pseudoglm | R Documentation |
Computes Wald confidence intervals for one or more parameters in a fitted model. Users can specify the type of variance estimate used, with the default being the robust sandwich variance estimator.
## S3 method for class 'pseudoglm'
confint(object, parm, level = 0.95, type = "robust", ...)
object |
A fitted model object from cumincglm or rmeanglm |
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. |
type |
The type of variance estimate to use, see vcov.pseudoglm |
... |
Not used |
A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in
cumincipcw <- cumincglm(survival::Surv(etime, event) ~ age + sex,
time = 200, cause = "pcm", link = "identity",
model.censoring = "independent", data = mgus2)
confint(cumincipcw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.