Hello,
Beginner Stata user here.
So I have two date variables in 13Nov2019 type format, which are a start and end date variable. I also have a group variable. These are the vars:
group start_date end_date
Per group, I want to compare the start_date of an observation to the end_date of the previous observation, and flag if there are any overlaps.
Do you have any advice on how I can do this?
Related Posts with Comparing dates in 2 variables and 2 observations
Interpretation of variables in panel data set.I'm conducting some research for my dissertation on the relationship between military spending, arms…
Pooled Panel or Cross Sectional DataGood Morning I have a query regarding a data set I am handling. I am trying to see the out migration…
Multiple catplot graphs in oneDear all, I have two categorical variables, which have exactly the same categories. I want to graph…
Calculate cumulative abnormal announcement return (CAR)Dear all, I am a Stata learner and have some problems related to the calculation of CAR. My data in…
Cross sectional dependenceGood Morning, What is the difference between xtpcse and xtscc? My data: - N>T; - Problems: cro…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing dates in 2 variables and 2 observations
Post a Comment