I hope this finds you well.
I kindly need your help to calculate the time difference(Months, Years or Day) in a longitudinal data set where I have patients with recorded visits up to 8 visit. Some patients have up to 3rd visit, 5 visit.. etc. I have date of each visit and I would like to get the time difference between each visit for each patient.
Regards
Humphrey
Related Posts with How to Calculating time difference between visits in a panel data
True discard of precision with roundHi all, I'm using Stata 14 and wish to round data in one of my variables to 1 dp. I shall be retaini…
Interpret interaction term of two continuous variables after ordered logit estimation.Hi Statalist members, I'm running the ordered logit model and find struggling how to interpret the …
Year fixed effectsHi all, I am seeking for explanation on year fixed effects, why one would need them as a control in…
Addressing endogeneity in PPMLDear all, I have come across 2 methods of addressing endogeneity in ppml models, the use of bilater…
Help with writing code for data with value labelsHi all, please consider the following data set: input str3 ID byte str9 shock byte str1 evnt ID…
Subscribe to:
Post Comments (Atom)
0 Response to How to Calculating time difference between visits in a panel data
Post a Comment