
The dataset is an extract from the Medical Expenditures Panel Survey. Sample of 3328 observations, with 526 zero expenditures. It was used for illustrative examples by Cameron and Trivedi (2009, Chapter 16).
data(MEPS2001)
A data frame with 3328 observations on the following 12 variables.
educ
Educational attainment, in years.
age
Age.
income
Income.
female
Logical, TRUE if female.
totchr
Number of chronic diseases.
age2
Age squared
ambexp
Ambulatory expenditures.
lambexp
Log ambulatory expenditures.
blhisp
Ethnicity. Logical, TRUE if black or hispanic.
dambexp
Logical, TRUE if the ambulatory expenditures are greater than zero.
lnambx
Log ambulatory expenditures, with zeros replacing NA's.
ins
Insurance status. Logical, TRUE if insured.
Cameron, C.A. and Trivedi, P.K. (2009) Microeconometrics Using Stata, College Station, TX: Stata Press.
# NOT RUN {
data(MEPS2001)
summary(MEPS2001)
# }
Run the code above in your browser using DataLab