50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

ssmrob (version 1.0)

MEPS2001: Ambulatory Expenditures Data

Description

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).

Usage

data(MEPS2001)

Arguments

Format

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.

References

Cameron, C.A. and Trivedi, P.K. (2009) Microeconometrics Using Stata, College Station, TX: Stata Press.

Examples

Run this code
# NOT RUN {
data(MEPS2001)
summary(MEPS2001)
# }

Run the code above in your browser using DataLab