heart {msme} | R Documentation |
Heart surgery outcomes for Canadian patients
Description
The data consists of Canadian patients who have either a Coronary Artery Bypass Graft surgery (CABG) or Percutaneous Transluminal Coronary Angioplasty (PTCA) heart procedure.
Usage
data(heart)
Format
A grouped binomial data frame with 15 observations.
- death
number of patients that died within 48 hours of hospital admission
- cases
number of patients monitored
- anterior
1: anterior site damage heart attack; 0: other site damage
- hcabg
1: previous CABG procedure; 0: previous PTCA procedure;
- killip
1: normal heart; 2: angina; 3: minor heart blockage; 4: heart attack or myocardial infarction;
Details
The data are presented as a grouped binomial dataset, with each row representing a different combination of the predictor variables.
Source
National Canadian Registry of Cardiovascular Disease
References
Hilbe, Joseph M (2009), Logistic Regression Models, Chapman & Hall/CRC first used in Hardin, JW and JM Hilbe (2001, 2007), Generalized Linear Models and Extensions, Stata Press
Examples
data(heart)
heart.nb <- irls(death ~ anterior + hcabg + factor(killip),
a = 0.0001,
offset = log(heart$cases),
family = "negBinomial", link = "log",
data = heart)