Skip to main content
U.S. flag
Health and Human Services Logo

An official website of the Department of Health & Human Services

menu-iconMore mobile-close-icon
mobile-back-btn-icon Back
  • menu-iconMenu
  • mobile-search-icon
AHRQ: Agency for Healthcare Research and Quality
  • Search All AHRQ Sites
  • Careers
  • Contact Us
  • Español
  • FAQs
  • Email Updates
MEPS Home Medical Expenditure Panel Survey
Font Size:
Contact MEPS FAQ Site Map  
S
M
L
XL
 

MEPS HC-257
Panel 28 Longitudinal Data Public Use File

September 2026

Agency for Healthcare Research and Quality
Center for Financing, Access, and Cost Trends
5600 Fishers Lane
Rockville, MD 20857


Table of Contents

A. Data Use Agreement
B. Background
1.0 Household Component
2.0 Medical Provider Component
3.0 Survey Management and Data Collection
C. Technical and Programming Information
1.0 General Information
2.0 Data File Information
2.1 Variables
2.1.1 Variables from Annual Full-Year Consolidated Files
2.1.2 Constructed Variables for Selection of Group
2.1.3 Estimation Variables

A. Data Use Agreement

Individual identifiers have been removed from the micro-data contained in these files. Nevertheless, under sections 308 (d) and 903 (c) of the Public Health Service Act (42 U.S.C. § 242m and 42 U.S.C. § 299 a-1), data collected by the Agency for Healthcare Research and Quality (AHRQ) and/or the National Center for Health Statistics (NCHS) may not be used for any purpose other than for the purpose for which they were supplied; any effort to determine the identity of any reported cases is prohibited by law.

Therefore in accordance with the previously referenced federal statute, it is understood that:

  1. No one is to use the data in this dataset in any way except for statistical reporting and analysis.
  2. If the identity of any person or establishment should be discovered inadvertently, then (a) no use will be made of this knowledge, (b) Director - Office of Management Services AHRQ will be advised of this incident, (c) the information that would identify any individual or establishment will be safeguarded or destroyed, as requested by AHRQ, and (d) no one else will be informed of the discovered identity.
  3. No one will attempt to link this dataset with individually identifiable records from any datasets other than the Medical Expenditure Panel Survey or the National Health Interview Survey. Furthermore, linkage of the Medical Expenditure Panel Survey and the National Health Interview Survey may not occur outside the AHRQ Data Center, NCHS Research Data Center (RDC) or the U.S. Census RDC network.

By using these data, you signify your agreement to comply with the previously stated statutorily based requirements with the knowledge that deliberately making a false statement in any matter within the jurisdiction of any department or agency of the federal government violates Title 18, Part 1, Chapter 47, Section 1001 (18 U.S.C. § 1001), and is punishable by a fine of up to $10,000 or up to 5 years in prison.

AHRQ requests that users cite AHRQ and the Medical Expenditure Panel Survey as the data source in any publications or research based upon these data.

Return To Table Of Contents


B. Background

1.0 Household Component

The Medical Expenditure Panel Survey (MEPS) provides nationally representative estimates of health care use, expenditures, payment sources, and health insurance coverage for the U.S. civilian noninstitutionalized population. The MEPS Household Component (HC) also provides estimates of respondents' health status, demographic and socio-economic characteristics, employment, access to care, and satisfaction with care. Estimates can be produced for individuals, families, and selected population subgroups. The survey's panel design includes five rounds of interviews spanning 2 full calendar years. The interviews use computer-assisted personal interviewing (CAPI) technology or computer-assisted video interviewing (CAVI) technology to collect information about each household member, which the survey builds on from interview to interview. A single household respondent reports data for a sampled household.

The MEPS HC was initiated in 1996. Each year a new panel of sample households is selected. Because the data collected are comparable to those from earlier medical expenditure surveys conducted in 1977 and 1987, it is possible to analyze long-term trends. Historically, each annual MEPS HC sample consists of up to 15,000 households. Data can be analyzed at the person, family, or event level. Data must be weighted to produce national estimates.

The set of households selected for each MEPS HC panel is a subsample of households participating in the previous year's National Health Interview Survey (NHIS) conducted by NCHS. The NHIS sampling frame provides a nationally representative sample of the U.S. civilian noninstitutionalized population. In 2006, NCHS implemented a new NHIS sample design that included households with Asian persons in addition to households with Black and Hispanic persons in minority group oversampling. In 2016, NCHS introduced another sample design that discontinued the oversampling of these minority groups.

Return To Table Of Contents


2.0 Medical Provider Component

When the household instrument is completed, and permission is obtained from the sampled members to contact their medical provider(s), a sample of these providers is contacted by telephone to obtain information that household respondents cannot accurately provide. This part of MEPS is called the Medical Provider Component (MPC), and it collects information on dates of visits, diagnosis and procedure codes, and charges and payments. The Pharmacy Component (PC), a subcomponent of the MPC, does not collect data on charges or on diagnosis and procedure codes, but it does collect detailed information on drugs, including the National Drug Code (NDC) and medicine name, as well as payment amounts. The MPC is not designed to yield national estimates; it is primarily used as an imputation source to supplement or replace household-reported expenditure information.

Return To Table Of Contents


3.0 Survey Management and Data Collection

MEPS HC and MPC data are collected under the authority of the Public Health Service Act. The MEPS HC data are collected under contract with Westat, and the MEPS MPC data are collected under contract with RTI International. Datasets and summary statistics are edited and published in accordance with the confidentiality provisions of the Public Health Service Act and the Privacy Act. NCHS provides consultation and technical assistance.

As soon as the MEPS data are collected and edited, they are released to the public in stages of microdata files and tables via the MEPS website and AHRQ Data Tools site.

Additional information on MEPS is available from the MEPS project manager or the MEPS public use data manager at the Center for Financing, Access, and Cost Trends, AHRQ, 5600 Fishers Lane, Rockville, MD 20857.

Return To Table Of Contents


C. Technical and Programming Information

1.0 General Information

This documentation describes the Panel 28 Longitudinal Public Use File (PUF) from the MEPS HC. It was released as an ASCII file (with related SAS, Stata, SPSS, and R programming statements and data user information) and as a SAS dataset, a SAS transport dataset, a Stata dataset, and an Excel file. The Panel 28 Longitudinal PUF provides information collected from a nationally representative sample of the U.S. civilian noninstitutionalized population for the two-year period 2023-2024. The file contains 2,837 variables and has a logical record length of 8,141 with an additional 2-byte carriage return/line feed at the end of each record.

This file consists of MEPS survey data obtained in Rounds 1-5 of MEPS Panel 28 and can be used to analyze changes over a two-year period. Variables in the file pertaining to survey administration, demographics, employment, health status, disability days, quality of care, patient satisfaction, health insurance and medical care use and expenditures were obtained from the MEPS 2023 and 2024 Full-Year Consolidated PUFs (HC-251 and HC-256, respectively).

The following documentation offers a brief overview of the contents and structure of the files and programming information. A codebook of all the variables included in the Panel 28 Longitudinal PUF is provided in a separate file (H257CB.PDF). A database of all MEPS products released to date and a variable locator indicating the major MEPS data items on public use files that have been released to date can be found on the MEPS website.

Return To Table Of Contents


2.0 Data File Information

The Panel 28 Longitudinal PUF contains records for 8,872 persons in Panel 28 who were respondents for the period they were in-scope for the survey (i.e., a member of the civilian noninstitutionalized population) during the two-year period. Only persons with positive person-level weights (PERWT23F or PERWT24F) are included in the longitudinal PUF data. Data are available for all five rounds for 94.56% of the cases (8,389). The remaining 5.44% (483 persons) do not have data for one or more rounds but were in-scope for all rounds they participated in the survey. These persons are those who were born, died, were in the military or an institution, or left the country during the two-year period. In contrast, persons in the panel who participated in the survey for only part of the period they were in scope are not included in this file. To compensate for this attrition, adjustments were made in the construction of the panel weight variable included in this file (LONGWT). The codebook provides both weighted and unweighted frequencies for each variable on the data file. The LONGWT variable should be used to produce national estimates for the two-year period.

Return To Table Of Contents


2.1 Variables

2.1.1 Variables from Annual Full-Year Consolidated Files

Most variables on this file were obtained from the MEPS 2023 and 2024 Full-Year Consolidated PUFs (HC-251 and HC-256, respectively). However, names for time dependent variables from these files are modified in order to: 1) eliminate duplicate variable names for data reflecting different time periods during the panel, and 2) standardize variable names to facilitate pooling of multiple MEPS panels for analysis.1 Generally, annual variables with a suffix of ";23"; and ";24"; are renamed with a suffix of ";Y1"; and ";Y2";, respectively. Variables with a suffix of ";31";, ";42";, and ";53"; are renamed with a suffix denoting the round the data was collected (i.e., ";1"; , ";2"; or ";3"; for variables originating from Rounds 1-3 on the 2023 full-year file and ";3";, ";4";, or ";5"; for variables originating from Rounds 3-5 on the 2024 full-year file).2 It is necessary to use this crosswalk in conjunction with documentation for the 2023 and 2024 Full-Year Consolidated PUFs to obtain a full description of variables on this file. Table 1 below provides the crosswalk summarizing the scheme used for renaming variables from the annual files.


1 A variable named PANEL is also included to facilitate pooling across panels. This variable is simply the panel number and is therefore constant across all records within a longitudinal file. The ten-character variable DUPERSID uniquely identifies each person represented on the file and is the combination of the variables DUID (PANEL + Dwelling Unit ID) and PID (Person Number).
2 While Round 3 values were obtained for most observations from the 2024 Full Year Consolidated PUF, they were obtained from the 2023 Full Year Consolidated PUF for sample persons where YEARIND=2 (i.e., in 2023 only).
Table 1. Crosswalk of Variable Names between the Full-Year Consolidated PUFs and the Longitudinal PUF

Type of Variable Full-Year Consolidated PUF Variable Name Suffix Longitudinal PUF Variable Name Suffix  Specific cases or examples
Constant (i.e., not round or year specific)
No suffixes
No suffixes
All variables:
BORNUSA=BORNUSA
DOBMM=DOBMM
DOBYY=DOBYY
DATAYEAR=DATAYEAR
DUID=DUID
PID=PID
DUPERSID=DUPERSID
EDUCYR=EDUCYR
HIDEG=HIDEG
HISPANX=HISPANX
HISPNCAT=HISPNCAT
HWELLSPK=HWELLSPK
INTVLANG=INTVLANG
OTHLGSPK=OTHLGSPK
PANEL=PANEL
PID=PID
RACEAX=RACEAX
RACEBX=RACEBX
RACEWX=RACEWX
RACEV1X=RACEV1X
RACEV2X=RACEV2X
RACETHX=RACETHX
SEX=SEX
VARPSU=VARPSU
VARSTR=VARSTR
WHTLGSPK=WHTLGSPK
YRSINUS=YRSINUS
Annual, family related variables
YR
Y1 or YR1




Y2 or YR2
All variables:
FAMIDYR=FAMIDYR1 (2023 file)
FAMRFPYR=FAMRFPY1 (2023 file)
FAMSZEYR=FAMSZYR1 (2023 file)

FAMIDYR=FAMIDYR2 (2024 file)
FAMRFPYR=FAMRFPY2 (2024 file)
FAMSZEYR=FAMSZYR2 (2024 file)
Annual, CPS family identifiers
No suffix
Y1


Y2
All variables:
CPSFAMID= CPSFAMY1 (2023 file)

CPSFAMID= CPSFAMY2 (2024 file)
Annual, health insurance eligibility units
No suffix
Y1


Y2
All variables:
HIEUIDX=HIEUIDY1 (2023 file)

HIEUIDX=HIEUIDY2 (2024 file)
Annual, in-scope variables
No suffixes
YR1


YR2
All variables:
INSCOPE=INSCPYR1 (2023 file)

INSCOPE=INSCPYR2 (2024 file)
12/31 status variables
1231 in 2023 file






1231 in 2024 file
Y1






Y2
All variables:
FAMS1231=FAMSY1 (2023 file)
FCRP1231=FCRPY1 (2023 file)
FCSZ1231=FCSZY1 (2023 file)
FMRS1231=FMRSY1 (2023 file)
INSC1231=INSCY1 (2023 file)

FAMS1231=FAMSY2 (2024 file)
FCRP1231=FCRPY2 (2024 file)
FCSZ1231=FCSZY2 (2024 file)
FMRS1231=FMRSY2 (2024 file)
INSC1231=INSCY2 (2024 file)
Annual
23, 23X, 23F, or 23C



24, 24X, 24F, or 24C
Y1, Y1X, Y1F, or Y1C



Y2, Y2X, Y2F, or Y2C
Examples:
TOTEXP23=TOTEXPY1
AGE23X=AGEY1X

TOTEXP24=TOTEXPY2
AGE24X=AGEY2X
Variables for health insurance prior to January 1, 2023
(data collected in Round 1 only)
No suffixes
No suffixes
All variables:
PREVCOVR=PREVCOVR
MORECOVR=MORECOVR
Annual
No suffixes3
Y1







Y2


Examples:
KEYNESS=KEYNESY1 (2023 file)
SAQELIG=SAQELIY1 (2023 file)
EVRWRK=EVRWRKY1 (2023 file)
EVRETIRE=EVRETIY1 (2023 file)
AGELAST=AGELSTY1 (2023 file)
DIABDX_M18=DIABDXY1_M18 (2023 file)

KEYNESS=KEYNESY2 (2024 file)
SAQELIG=SAQELIY2 (2024 file)
EVRWRK=EVRWRKY2 (2024 file)
EVRETIRE=EVRETIY2 (2024 file)
AGELAST=AGELSTY2 (2024 file)
DIABDX_M18=DIABDXY2_M18 (2024 file)
Monthly
2-character month + 23
2-character month + 24
2-character month + Y1
2-character month + Y2
Examples:
PRIJA23=PRIJAY1 (2023 file)
PRIJA24=PRIJAY2 (2024 file)
Round Specific
31, 31X, or 31H in 2023 file
42, 42X, or 42H in 2023 file
53, 53X, or 53H in 2023 file

31_Myy in 2023 file
42_Myy in 2023 file
53_Myy in 2023 file

31, 31X, or 31H in 2024 file
42, 42X, or 42H in 2024 file
53, 53X, or 53H in 2024 file

31_Myy or 31_yy in 2024 file
42_Myy or 42_yy in 2024 file
53_Myy or 53_yy in 2024 file
1, 1X, or 1H for 2023
2, 2X, or 2H for 2023
3, 3X, or 3H for 2023

1_Myy for 2023
2_Myy for 2023
3_Myy for 2023

3, 3X, 3H for 2024
4, 4X, 4H for 2024
5, 5X, 5H for 2024

3_Myy or 3_yy for 2024
4_Myy or 4_yy for 2024
5_Myy or 5_yy for 2024
Examples:
RTHLTH31=RTHLTH1 (2023 file)
RTHLTH42=RTHLTH2 (2023 file)
RTHLTH53=RTHLTH3 (2023 file if YEARIND=2)

JTPAIN31_M18=JTPAIN1_M18
PROVTY42_M18=PROVTY2_M18
JTPAIN53_M18=JTPAIN3_M18

RTHLTH31= RTHLTH3 (2024 file if YEARIND=1 or 3)
RTHLTH42=RTHLTH4 (2024 file)
RTHLTH53=RTHLTH5 (2024 file)

JTPAIN31_M18=JTPAIN3_M18
INDCAT31_17=INDCAT3_17
PROVTY42_M18=PROVTY4_M18
INDCAT42_17=INDCAT4_17
DENTIN53_M23=DENTIN5_M23
INDCAT53_17=INDCAT5_17
Job Change
3142 or 4253
12 for 2023
23 for 2023




34 for 2024
45 for 2024
All cases:
CHGJ3142=CHGJ12 (2023 file)
CHGJ4253=CHGJ23 (2023 file)
YCHJ3142=YCHJ12 (2023 file)
YCHJ4253=YCHJ23 (2023 file)

CHGJ3142=CHGJ34 (2024 file)
CHGJ4253=CHGJ45 (2024 file)
YCHJ3142=YCHJ34 (2024 file)
YCHJ4253=YCHJ45 (2024 file)
Cancer/
Cancer in remission4
No suffixes5
Y1 for 2023

Y2 for 2024
Examples:
CALUNG=CALUNGY1 (2023 file)

CALUNG=CALUNGY2 (2024 file)
Age of Diagnosis
No suffixes5
Y1 for 2023



Y2 for 2024
Examples:
CHDAGED=CHDAGY1 (2023 file)
CHOLAGED=CHOLAGY1 (2023 file)

CHDAGED=CHDAGY2 (2024 file)
CHOLAGED=CHOLAGY2 (2024 file)


[3] To maintain a previously-implemented 8-character naming convention, some variable names had the last character or two dropped in the renaming process. A few variables have names longer than 8 characters because they were modified and tagged with an '_Myy' suffix, where yy indicates the year of modification. These variables were altered in the same fashion they would have been without the _Myy suffix, and the _Myy suffix was retained.

[4] Starting in 2010, variables were added to indicate whether each reported cancer was in remission.

[5]To maintain a previously implemented 8-character naming convention, some variable names had the last character or two dropped in the renaming process.


Return To Table Of Contents


2.1.2 Constructed Variables for Selection of Group

The following eight variables were constructed and included on the file to facilitate the selection of appropriate cases for various analyses. Table 2 below contains descriptive statistics for these variables.

YEARIND 1=both years, 2=in 2023 only, and 3=in 2024 only
ALL5RDS In scope and data collected in all 5 rounds (0=no, 1=yes)
DIED Died during the two-year survey period (0=no, 1=yes)
INST Institutionalized for some time during the two-year survey period (0=no, 1=yes)
MILITARY Active duty military for some time during the two-year survey period (0=no, 1=yes)
ENTRSRVY Entered survey after beginning of panel (mainly births; also includes persons who had no initial chance of selection who moved into a MEPS sample household) (0=no, 1=yes)
LEFTUS Moved out of the country after beginning of panel (0=no, 1=yes)
OTHER Not identified in any of the above analytic groups (0=no, 1=yes)

Table 2. Frequencies and Percentage for Constructed Variables


Variable

Number of Records 

Percentage of Records (N=8,872)

YEARIND=1 (i.e., person in both years)

8,709

98.16

ALL5RDS=1 (yes)

8,389

94.56

DIED=1 (yes)

149

1.68

INST=1 (yes)

26

0.29

MILITARY=1 (yes)

19

0.21

ENTRSRVY=1 (yes)

259

2.92

LEFTUS=1 (yes)

13

0.15

OTHER=1 (yes)

21

0.24


Following are examples of situations where these variables would be useful in selecting records for analysis:

  • Analysts interested in working only with persons who were in-scope and had data for all five rounds of the panel should subset to cases where ALL5RDS=1.
  • If a researcher wanted to include persons who were in-scope and had data for all five rounds of the panel as well as those in the survey at the beginning of the panel who subsequently died, then they would include cases where ALL5RDS=1 or (ENTRSRVY=0 and DIED=1).
  • If a researcher wanted to include persons who were in-scope and had data for all five rounds of the panel as well as those who died in the second year of the panel, then they would include cases where ALL5RDS=1 or (DIED=1 and YEARIND=1).

Return To Table Of Contents


2.1.3 Estimation Variables

Longitudinal Estimations for Panel 28

The Panel 28 Longitudinal PUF contains a weight variable (LONGWT) and variance estimation variables (VARSTR, VARPSU) that should be applied when producing national estimates for longitudinal analyses. For example, LONGWT applied to the 8,389 cases where ALL5RDS=1 produces a weighted population estimate of 321.4 million. This represents an estimate of the number of persons in the civilian noninstitutionalized population for the entire two-year period from 2023-2024. To obtain estimates of variability (such as the standard error of sample estimates or corresponding confidence intervals) for estimates based on MEPS survey data, one needs to take into account the complex sample design of MEPS by specifying the estimation variables including stratum of sample selection (VARSTR), primary sampling unit (VARPSU) and longitudinal weight (LONGWT).

The Panel 28 Longitudinal PUF also contains a longitudinal SAQ weight variable (LSAQWT). This weight variable should be used to perform longitudinal analyses involving any variables from the self-administered questionnaire (SAQ) which was administered to persons age 18 and older in both rounds 2 and 4 of the survey. The variable SAQRDS24 can be used to identify which persons have SAQ data for both versus only one of the two rounds. Table 3 below provides the estimated population size (i.e., the sum of LSAQWT values) for cases with only one round of SAQ data (i.e., SAQRDS24=0) and for cases with both rounds of SAQ data (i.e., SAQRDS24=1). The estimated population size for analyses based on the 4,337 cases with SAQ data for both rounds (i.e., SAQRDS24=1) is 192.0 million.


Table 3. Number of Respondents and Estimated Population Size for SAQ Analyses


Value of
SAQRDS24

Description

Number of
Respondents
(Unweighted)

Estimated Population
Size (Weighted by
LSAQWT)

0

Persons with one round of SAQ data

4,535

72,070,174

1

Persons with both rounds of SAQ data

4,337

192,047,825

Total

All SAQ respondents

8,872

264,118,000


Pooled Estimations

When analyzing subpopulations and/or low-prevalence events, it may be necessary to pool together data from multiple MEPS-HC panels to accumulate a large enough sample size for producing reliable estimates. To ensure accurate variance estimation in such pooled analyses, a consistent and appropriate variance structure must be applied.

MEPS longitudinal weight files for Panels 1-6 were released using panel-specific variance structures. Beginning with Panel 7, however, longitudinal files adopted a common variance structure. This common structure was subsequently revised starting with Panel 24.

To ensure correct variance estimation when pooling longitudinal files, the guidance below should be followed:

  1. Pooling within Panels 7-23 or within Panels 24 and beyond:
    Simply use the variance strata and PSU variables (VARSTR, VARPSU)[6] provided on the longitudinal files.
  2. Pooling that involves either:
    1. Any panel from Panels 1-6, or
    2. Any earlier panel in combination with Panels 24 and beyond:
      Use the variance structure from the pooled linkage public use file HC-036, which contains the appropriate consistent variance structure for such combinations.

The HC-036 file is updated annually to include the correct variance structures through the most recent year. Additional information, including a summary chart outlining the appropriate variance structures for various pooling scenarios, can be found in the public use documentation for HC-036 (see Page C-1 for the chart).

Return To Table Of Contents




[6] Note that variable names for strata and PSU are VARSTR and VARPSU, respectively, in longitudinal files for Panel 9 and beyond. These variables were named differently in the longitudinal files for Panel 7 (VARSTRP7, VARPSUP7) and Panel 8 (VARSTRP8, VARPSUP8) and need to be standardized when pooling with subsequent panels.



MEPS HOME . CONTACT MEPS . MEPS FAQ . MEPS SITE MAP . MEPS PRIVACY POLICY . ACCESSIBILITY . VIEWERS & PLAYERS . COPYRIGHT
Back to topGo back to top
Back to Top Go back to top

Connect With Us

Facebook X You Tube LinkedIn

Sign up for Email Updates

To sign up for updates or to access your subscriber preferences, please enter your email address below.

Agency for Healthcare Research and Quality

5600 Fishers Lane
Rockville, MD 20857
Telephone: (301) 427-1364

  • Careers
  • Contact Us
  • Español
  • FAQs
  • Accessibility
  • Disclaimers
  • EEO
  • Electronic Policies
  • FOIA
  • HHS Digital Strategy
  • HHS Nondiscrimination Notice
  • Inspector General
  • Plain Writing Act
  • Privacy Policy
  • Viewers & Players
  • U.S. Department of Health & Human Services
  • The White House
  • USA.gov