summary.lsm: Summarizing Method for lsm Objects

Description Usage Arguments Value References Examples

View source: R/lsm.R

Description

Provides a summary method for lsm objects.

Usage

1
2
3
## S3 method for class \code{lsm}
## S3 method for class 'lsm'
summary(object, ...)

Arguments

object

a lsm object

...

additional parameters

Value

Side effect: a summary table with results from lsm analysis.

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)
 summary(Ela)

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