Hi,
I have a hospital admission data in which every patient may have one to hundreds of repeated admissions. I want to create a variable to indicate me when patients have certain types of causes of admission identified by ICD codes, for instance ICD1, ICD2, ICD3. I am not sure if I should be using looping or something else.
I would be grateful to get any help.
Thank you,
Befikadu
Related Posts with How to flag an event of interest in a longitudinal dataset
Merging datasets with one to many mappingHi All, My first dataset is an input-output matrix, that resembles the following: Code: * Exampl…
Problem with delimitDear All, I have a master file from where I invoke other auxiliary files, the code being: Code: …
Generating a graph for Odds Ration and CI from logistic regression resultsI want to plot the results of logistic regression in Stata 13. The DV is Obesity. The x-axis will sh…
How to calculate/obtain the standard errors of the residuals using FamaMacBeth with asreg fmb for Shanken Correction (1992)Hello everyone, I am currently trying to implement the Shanken (1992) Correction for my dataset aft…
Time Fixed effectsHello everyone, Just running a panel data regression, and the results for the Hausman test prove tha…
Subscribe to:
Post Comments (Atom)
0 Response to How to flag an event of interest in a longitudinal dataset
Post a Comment