confint.lsm: Confidence Intervals for lsm Objects

Description Usage Arguments Value Author(s) References Examples

View source: R/lsm.R

Description

Provides a confint method for lsm objects.

Usage

1
2
3
## S3 method for class \code{lsm}
## S3 method for class 'lsm'
confint(object, parm, level =0.95, ...)

Arguments

object

a lsm object

parm

parameter

level

confidence levels

...

additional parameters

Value

An object of class lsm analysis.

Author(s)

Jorge Villalba Acevedo

References

[1] Humberto Jesus Llinas. (2006). Accuracies in the theory of the logistic models. Revista Colombiana De Estadistica,29(2), 242-244.

[2] Hosmer, D. (2013). Wiley Series in Probability and Statistics Ser. : Applied Logistic Regression (3). New York: John Wiley & Sons, Incorporated.

[3] Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth & Brooks/Cole.

Examples

1
2
3
4
5
6
7
# Hosmer, D. (2013) page 3: Age and coranary Heart Disease (CHD) Status of 20 subjects:

 AGE <- c(20, 23, 24, 25, 25, 26, 26, 28, 28, 29, 30, 30, 30, 30, 30, 30, 30, 32, 33, 33)
 CHD <- c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0)
 data <- data.frame (CHD, AGE)
 Ela <- lsm(CHD ~ AGE, family = binomial, data)
confint(Ela)

jlvia1191/lsm documentation built on Jan. 18, 2020, 9:16 a.m.