confint.lsm {lsm} | R Documentation |
Confidence Intervals for lsm
Objects
Description
Provides a confint method for lsm
objects.
Usage
## S3 method for class 'lsm'
confint(object, parm, level = 0.95, ...)
Arguments
object |
The type of prediction required. The default is on the scale of the linear predictors. The alternative |
parm |
calculate confidence intervals for the coefficients |
level |
It gives the desired confidence level for the confidence interval. For example, a default value is level = 0.95, which will generate a 95
The alternative |
... |
further arguments passed to or from other methods. |
Details
confint Method for lsm
The saturated model is characterized by the assumptions 1 and 2 presented in section 2.3 by Llinas (2006, ISSN:2389-8976).
Value
lsm
returns an object of class "lsm
".
An object of class "lsm
" is a list containing at least the
following components:
object |
a |
parm |
calculate confidence intervals for the coefficients. |
level |
confidence levels |
... |
Additional arguments to be passed to methods. |
Author(s)
Jorge Villalba Acevedo [cre, aut], (Universidad Tecnológica de Bolívar, Cartagena-Colombia).
References
[1] LLinás, H. J. (2006). Precisiones en la teoría de los modelos logísticos. Revista Colombiana de Estadística, 29(2), 239–265. https://revistas.unal.edu.co/index.php/estad/article/view/29310
[2] Hosmer, D.W., Lemeshow, S. and Sturdivant, R.X. (2013). Applied Logistic Regression, 3rd ed., New York: Wiley.
[3] Chambers, J. M. and Hastie, T. J. (1992). Statistical Models in S. Wadsworth & Brooks/Cole.
Examples
# datos <- lsm::icu
# attach(datos)
# modelo <- lsm(STA~AGE + as.factor(RACE), data=icu)
# confint(modelo)