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
Linearity of mixed modelHi , does the fact that mixed command is made for linear models mean that I can not have logged inde…
How to draw a graph for inverted U-shaped relationships like the graph presented below?Array My regression is: Y1=α1FD1+α2FD1^2+α3Controls, and the results showed this is a bell-shaped re…
How can I calculate mediation using bootstrapping?Hello I conducted SEM bootstrapping to find mediation effect in structural equation modeling. Howeve…
Panel regression and plots in stataHi Statalist, can someone please suggest any resources for a beginner in panel regression (and plott…
System GMM: time dummies vs time trendsHi everyone, I am running a system GMM model with a N=31 T=10 dataset. I included a time trend (equ…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between dates in month
Post a Comment