This repository contains the agenda, presentation slides, and programming exercises for the latest MEPS workshop.
MEPS workshops are designed for health services researchers who have a background or interest in using national health surveys. For questions regarding MEPS workshops, please contact Anita Soni at WorkshopInfo@ahrq.hhs.gov. Information on upcoming workshops is posted on the MEPS website. Check back regularly for updates.
More information about the Medical Expenditure Panel Survey (MEPS) and additional coding information and exercises can be found in the MEPS repository.
To facilitate the programming exercises, the following programs can be used to automate the downloading, unzipping, and conversion of the SAS transport files into SAS or Stata:
The SAS and Stata programming exercises are available in the sas_exercises and stata_exercises folders:
National healthcare expenses for 2017, including:
- Overall expenses
- Percentage of persons with an expense
- Mean expense per person with an expense
Data files needed: FYC 2017 (h201)
Purchases and expenses for narcotic analgesics or narcotic analgesic combos for 2017 including:
- Total expense for narcotic analgesics or narcotic analgesic combos
- Total number of purchases of narcotic analgesics or narcotic analgesic combos
- Total number of persons purchasing one or more narcotic analgesics or narcotic analgesic combos
- Average total out of pocket and third party payer expense for narcotic analgesics or narcotic analgesic combos per person
Data files needed: FYC 2017 (h201) and PMED 2017 (h197a)
This program illustrates how to pool MEPS data files from different years. The example used is the MEPS population ages 26-30 who are uninsured but have high income.
Data files needed: FYC 2017 (h201) and FYC 2016 (h192)
This program illustrates how to pool MEPS longitudinal data files from different panels. The example used is panels 18-20, population ages 26-30 who are uninsured but have high income in the first year.
Longitudinal data files needed: Panel 20 (h193), Panel 19 (h183), and Panel 18 (h172)
This program compares standard error estimates calculated by:
- Balanced Repeated Replicates (BRR) - using explicit loop
- Balanced Repeated Replicates (BRR) - using Stata's internal commands
- Taylor Series Linearization (Stata default)
Data files needed: FYC 2017 (h201)