heart.data {glmpath} | R Documentation |
South African Heart Disease dataset used to test glmpath
algorithm
data(heart.data)
A dataset with 462 observations on 9 variables and a binary response.
x contains 9 columns of the following variables: sbp (systolic blood pressure); tobacco (cumulative tobacco); ldl (low density lipoprotein cholesterol); adiposity; famhist (family history of heart disease); typea (type-A behavior); obesity; alcohol (current alcohol consumption); age (age at onset)
response, coronary heart disease
Hastie, T., Tibshirani, R., and Friedman, J. (2001) Elements of Statistical Learning; Data Mining, Inference, and Prediction Springer-Verlag, New York.
data(heart.data) attach(heart.data) fit <- glmpath(x, y, family=binomial) detach(heart.data)