Hi,
I am a beginner in learning stata. I have data where I have a column for month in numbers 1 to 12 and a column for year in numbers i.e. 1998 etc. Similarly, I have another column for fixed month i.e. 9 and a column for fixed year i.e. 1994. What I want is to find the difference in months of first month-year pair from second fixed month-year. Any help is much appreciated.
Related Posts with Difference in months between dates in year-month format
Issues with Creating a New Variable for Observations with the Same IDHi, I'm putting together an NBA Dataset for each season that includes data on the outcome of each g…
Rename using regex?Is it possible to rename a variable using regex? Let's say I have a variable: g wth_t1_xxx = . I…
farvalue command showing error messagesDear Professors, hope everyone is blessed with good health. I use the following loop command for a …
helpHi, everyone, I would greatly appreciate the help that you can give me, it is the following, I hav…
Fixed-effects on sibling data: which N to report?Dear colleagues, good day! I would be very grateful if you could help me with an issue. Setup: I ha…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in months between dates in year-month format
Post a Comment