rem_synthdata {rollmatch} | R Documentation |
Synthetic dataset to illustrate rolling entry
Description
This dataset represents a synthetic population of individuals who resemble Medicare fee-for-service patients in terms of age, race, spending, inpatient visits, ED visits, chronic conditions, and dual eligibility. The quasi-panel dataset contains multiple observations of non-participants (one for each entry period). Participants enter the data once in the baseline period immediately preceding their unique entry into the intervention. Time-varying covariates (e.g., health conditions, spending, utilization) are dynamic for each entry period's non-participant observations.
Usage
rem_synthdata
Format
A data frame with 254,400 observations and 20 variables:
- indiv_id
The unique identifier for each individual.
- entry_q
The period in which the individual enrolled in treatment / entered the intervention.
- lq
Last baseline quarter before entry into the intervention.
- quarter
Time variable, indicating the quarter that the variables are measured.
- treat
Treatment indicator variable (=1 if in treatment group and =0 if in control group).
- age
The patient's age.
- is_black
Race indicator variable (=1 if identified as Black, =0 if not).
- is_disabled
Physical disability indicator variable (=1 if identified as disabled, =0 if not).
- is_esrd
Disease indicator variable (=1 if identified as having End Stage Renal Disease (ESRD), =0 if not).
- is_hispanic
Ethnicity indicator variable (=1 if identified as Hispanic, =0 if not).
- is_male
Gender indicator variable (=1 if identified as Male, =0 if not).
- is_white
Race indicator variable (=1 if identified as White, =0 if not).
- lq_ed
Indicates the person had an ED visit during LQ.
- lq_ip
Indicates the person had an inpatient stay during LQ.
- yr_ed2
Count of ED visits during quarters LQ-5 to LQ-1.
- yr_ip2
Count of inpatient stays during quarters LQ-4 to LQ-1.
- months_dual
Number of months of dual Medicare-Medicaid eligibility in the previous year.
- chron_num
Number of chronic conditions.
- qtr_pmt
Payments during the quarter.
- yr_pmt
Payments during the previous 4 quarters.