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#
traffic accident analyze by logistic regression or binomial regression with didhi everyone, I want to use annual road traffic accident data for analysis. Since the people who caus…
Help with expanding a dataset and merging with a new dataset?Hi folks! I have a list of J respondents, each with an identifier and a zip code. I also have a sepa…
dummy variable in the two-way fixed effect modelI want to regress two-way fixed effect model with dummy variable using difference . the model look l…
Error r(900) - no room to add variables, up to 2048 variables are allowed, but I'm only using 340 variablesHello, I'm trying to add 9 variables (w_racel) for each wave of data (waves a to i) to a large data…
Loops within loopsDear everyone, I have trouble when create a loop to generate a new variable for my dataset. My data…
Subscribe to:
Post Comments (Atom)
0 Response to Trying to combine two files that are linked by a common ID#
Post a Comment