powered by
The medcare data was collected on 4406 individuals, aged 66 and over, that were covered by medcare, a public insurence program
medcare
data(medcare)
A data frame with 4406 observations on the following 9 variables.
ofp
number of physician office visits
hosp
number of hospital stays
healthpoor
indivudual has a poor health (reference: average health)
healthexcellent
indivudual has a excellent health
numchron
number of chronic conditions
male
female = 0, male = 1
age
age of individual (centered around 60)
married
married = 1, else = 0
school
years of education
US National Medical Expenditure Survey in 1987/88
if (FALSE) { ##example of analysis: if(interactive()){vignette("count-medcare")} if(interactive()){vignette("prediction-medcare")} }
Run the code above in your browser using DataLab