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
which option in esttab that display number of observation with comma?When running esttab to got the table of results, I faced the problem of displaying the number of obs…
How to handle endogeneity issues when doing probit?Dear all, I have difficulty in adjusting endogeneity after using -probit-. According to the results…
Margins expressionFor a panel fe regression where the IV and DV have both been log-transformed, I would like to know h…
How to make the coefficients displaying more aesthetic ?When I run the variable x on variable y, I have the coefficient of x is 0.0000569*** (15.28) I am …
Testing difference between regression coefficients in panel dataHi Statalist I use panel data of couples, each observation (is one household defined by the variab…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing dates in 2 variables and 2 observations
Post a Comment