Hi all,
I'm new to Stata and would appreciate any direction here! I'm currently working with two files. One is a master list of Medicaid recipient cohort, and the second one is a list of prescription claims for some of those people in the Master list. Each beneficiary in the master file may have 0 up to hundreds of prescriptions in the second file. They are deidentified but both files contain a linked ID variable.
I was wondering if anyone had advice on how I could create the Rx measures at the person level, then add them as new variables to the master file.
Related Posts with Trying to combine two files that are linked by a common ID#
Herfindahl-Hirschman Index, command ignores existing valuesHello! I am a PhD student in International Business and Economics. I am studying MNEs. I would like…
Birth CohortsHi statalist! I would like to make birth cohorts (5 years gap and above 25 years old adult). I have…
Calculating changes in a variable over irregular intervals when a condition is met in grouped dataI've been calculating changes in GDP in countries for adjacent quarters (gen ch_gdp =gdp_quart-gdp_q…
How to run the rank-based and sign-based variance-ratio test in stata?Hi. I want to test the random walk hypothesis by using rank-based and the sign-based variance-ratio …
Getting the underlying data from LROCI have run a probit model and then used the command -lroc to draw a ROC curve. I want to extract the…
Subscribe to:
Post Comments (Atom)
0 Response to Trying to combine two files that are linked by a common ID#
Post a Comment