Learn R Programming

catdata (version 1.2.4)

medcare: Number of Physician Office Visits

Description

The medcare data was collected on 4406 individuals, aged 66 and over, that were covered by medcare, a public insurence program

Usage

data(medcare)

Arguments

Format

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

References

US National Medical Expenditure Survey in 1987/88

Examples

Run this code
if (FALSE) {
##example of analysis:
if(interactive()){vignette("count-medcare")}
if(interactive()){vignette("prediction-medcare")}
}

Run the code above in your browser using DataLab