I have dates %tdD_m_Y format and I want to create an indicator if they are exactly one month apart, that means 01 Feb 2001 to 01 Mar 2001 to 01 Apr 2001 is one month, not the number of days in between the dates.
Is there a possibility (without Stata 17 date_diff function) to calculate this? Thank you.
Related Posts with Difference between dates in month
Panel data analysisHi evryone. What is wrong in may data? I cannot do xtpcse analysis. Please HELP!!! …
Combining several tablesDear Statlists, I am trying to combine several tables into one table. in the following code I creat…
new Mata class abm_nw for managing networks in an Agent Based ModelA new Mata class called abm_nw is now available from this GitHub repository. It is intended to help …
How to scalar matrixes produced by mean, over() for exact groupsDear all, I am trying to find a way to store vector of mean estimates as scalars. In fact, I compar…
Add Time in Panel RegressionHello Statalist, As a beginner, I am asking a silly and simple question. In my panel data model. th…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between dates in month
Post a Comment