Hello,
I have a data set on judges with a term start year and term end year. I would like to have a long format dataset in which the judge appears every year in between the start and the end. Any ideas how to implement this? Thank you!
Related Posts with Creating long format time series from start and end date in wide format
Is there an alternative to gen and egen that will save as double if the number is large?Yesterday I realized that I have to set type to double before doing "gen" for large numeric variable…
How to estimate prevalences of an indicator over the years?Dear Statalist, My dataset presents the prevalence of a given indicator over 11 years (2007 to 2017…
Merge data1 to data2 between certain datesDear Stata Users, I need to merge data1 to data2 such that data1 is merged to data2 between two dat…
Help with a problem setStarted using Stata in my Quantitative Methods course, previous statistics course used R and Rstudio…
Finding out the reason for collinearityThis sounds very dumb actually. But I tried to control for treatment type (T1, T2, and T3) in the re…
Subscribe to:
Post Comments (Atom)
0 Response to Creating long format time series from start and end date in wide format
Post a Comment