/*****************************************************************************/
/*  SPSS User Files are being provided for the convenience of analysts who   */
/*  may wish to use SPSS to analyze the MEPS data. However, users are        */
/*  cautioned that SPSS does not currently have the capability to produce    */
/*  appropriate standard errors for estimates from a survey with a complex   */
/*  sample design like the Medical Expenditure Panel Survey (MEPS). The      */
/*  annual national probability sample of households selected for the MEPS   */
/*  is a subsample of those participating in the National Health Interview   */
/*  Survey (NHIS) for the previous calendar year. The NHIS, an ongoing       */
/*  general health survey of the civilian noninstitutionalized population,   */
/*  is conducted by the National Center for Health Statistics, Centers for   */
/*  Disease Control and Prevention. The NHIS sample design, and thus that    */
/*  of the MEPS, uses complex sampling techniques including                  */
/*  stratification, clustering, and differential sampling rates for the      */
/*  oversampling of selected subgroups of the population. Because of this    */
/*  sampling structure, software that accounts for this complex sample       */
/*  design must be used. Without the use of appropriate software that        */
/*  accounts for the complex sample design of the MEPS in conjunction with   */
/*  the survey's sampling weights (reflecting the survey's sample            */
/*  selection probabilities and nonresponse and other adjustments), the      */
/*  estimated standard errors of survey point estimates will generally be    */
/*  underestimated, and, thus, the inferential conclusions in an analysis    */
/*  (descriptive or analytical) may be misleading. It is recommended that    */
/*  sample survey software be used to analyze the MEPS data. Software for    */
/*  analysis of complex survey data include, for example, SUDAAN (Research   */
/*  Triangle Institute), STATA (Stata Corporation), VPLX (U.S. Bureau of     */
/*  the Census), and WESVAR (Westat, Inc.). A more comprehensive summary     */
/*  of software for the analysis of data from surveys with complex sample    */
/*  designs can be accessed through the website for the American             */
/*  Statistical Association's Survey Research Methods Section. Users may     */
/*  also reference the Agency for Healthcare Research and Quality (AHRQ)     */
/*  web document "Computing Standard Errors for Medical Expenditure Panel    */
/*  Survey (MEPS) Estimates."                                                */
/*****************************************************************************/


FILE HANDLE INFILE NAME="H248C.DAT"  /LRECL=152.
DATA LIST FILE=INFILE /
    DUID 1-7  
    PID 8-10  
    DUPERSID 11-20 (A)
    EVNTIDX 21-36 (A)
    EVENTRN 37-37  
    PANEL 38-39  
    OMTYPE_M18 40-40  
    OMSF23X 41-48 (2)
    OMMR23X 49-56 (2)
    OMMD23X 57-64 (2)
    OMPV23X 65-72 (2)
    OMVA23X 73-80 (2)
    OMTR23X 81-87 (2)
    OMOF23X 88-94 (2)
    OMSL23X 95-102 (2)
    OMWC23X 103-109 (2)
    OMOT23X 110-116 (2)
    OMXP23X 117-124 (2)
    OMTC23X 125-133 (2)
    IMPFLAG 134-134  
    PERWT23F 135-147 (6)
    VARSTR 148-151  
    VARPSU 152-152   .
VARIABLE LABEL 
    DUID "PANEL # + ENCRYPTED DU IDENTIFIER"
    PID "PERSON NUMBER"
    DUPERSID "PERSON ID (DUID + PID)"
    EVNTIDX "EVENT ID"
    EVENTRN "EVENT ROUND NUMBER"
    PANEL "PANEL NUMBER"
    OMTYPE_M18 "OTHER MEDICAL EXPENSE TYPE"
    OMSF23X "AMOUNT PAID, FAMILY (IMPUTED)"
    OMMR23X "AMOUNT PAID, MEDICARE (IMPUTED)"
    OMMD23X "AMOUNT PAID, MEDICAID (IMPUTED)"
    OMPV23X "AMOUNT PAID, PRIVATE INSURANCE (IMPUTED)"
    OMVA23X "AMOUNT PAID, VETERANS/CHAMPVA (IMPUTED)"
    OMTR23X "AMOUNT PAID, TRICARE (IMPUTED)"
    OMOF23X "AMOUNT PAID, OTHER FEDERAL (IMPUTED)"
    OMSL23X "AMOUNT PAID, STATE & LOCAL GOV (IMPUTED)"
    OMWC23X "AMOUNT PAID, WORKERS COMP (IMPUTED)"
    OMOT23X "AMOUNT PAID, OTHER INSURANCE (IMPUTED)"
    OMXP23X "SUM OF OMSF23X - OMOT23X (IMPUTED)"
    OMTC23X "HHLD REPORTED TOTAL CHARGE (IMPUTED)"
    IMPFLAG "IMPUTATION STATUS"
    PERWT23F "EXPENDITURE FILE PERSON WEIGHT, 2023"
    VARSTR "VARIANCE ESTIMATION STRATUM, 2023"
    VARPSU "VARIANCE ESTIMATION PSU, 2023" .
VALUE LABELS 
    EVENTRN
         1 "1 ROUND 1"
         2 "2 ROUND 2"
         3 "3 ROUND 3"
         4 "4 ROUND 4"
         5 "5 ROUND 5" /
    IMPFLAG
         0 "0 NOT ELIGIBLE FOR IMPUTATION"
         1 "1 COMPLETE HC DATA"
         2 "2 COMPLETE MPC DATA"
         3 "3 FULLY IMPUTED"
         4 "4 PARTIALLY IMPUTED"
         5 "5 CAPITATION IMPUTATION" /
    OMTYPE_M18
         -1 "-1 INAPPLICABLE"
         -7 "-7 REFUSED"
         -8 "-8 DON'T KNOW"
         1 "1 GLASSES OR CONTACT LENSES"
         2 "2 AMBULANCE SERVICES"
         3 "3 DISPOSABLE SUPPLIES"
         4 "4 LONG TERM MEDICAL EQUIPMENT" /
    PANEL
         27 "27 PANEL 27"
         28 "28 PANEL 28" .
EXECUTE.