Returns Wald intervals by default. Binomial-logit Firth fits can instead
use penalized profile likelihood intervals; see [fastglm_profile_test()]
for assumptions, numerical controls, and diagnostics.
# S3 method for class 'fastglm'
confint(
object,
parm,
level = 0.95,
...,
method = c("wald", "profile"),
control = list()
)
Arguments
- object
a fitted fastglm model.
- parm
coefficient names or indices; defaults to all coefficients.
- level
confidence level.
- ...
additional arguments reserved for methods.
- method
`"wald"` or `"profile"`.
- control
numerical controls for profile inference.
Value
A matrix with lower and upper confidence limits. Profile intervals
additionally carry convergence and endpoint diagnostics as attributes.