Dear Stata forum members,
I need advise on how to combine dates in 2 different columns in to one column and sort them.
I have a large data set of 40,000+ subjects. Each of them have about 6 to 10 dates of service (in one column) and date of first prescription (in another column) [similar to m:1, but same dataset]. I need to combine these dates to one column, so that I can sort them.
I very much appreciate your help.
With warm regards,
Sateesh
Related Posts with combining dates in 2 different columns
Generating a new variable with a pre-specified correlation to two existing variablesIn a post way back in 2007 (https://www.stata.com/statalist/arch.../msg00541.html), Scott Merryman s…
Change time interval of %tc formatGood day, I have two variables (among others): One variable is a binary variable 0 or 1 (sleepwake)…
nl with the complementary error functionGood afternoon, I need to fit a nonlinear regression function of the form: y = erfc[2 * sqrt(b)] * …
Changing the location temporary files in STATA on MACHi, I am running a do-file which creates various large temporary files. And because of that my lapto…
Intercept/constant is omitted when running xtsccDear all, I have run xtscc for my fixed effect panel data regression. However, the intercept was om…
Subscribe to:
Post Comments (Atom)
0 Response to combining dates in 2 different columns
Post a Comment