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
How to rename and format variables from appended tempfile?Hi Statalist, I'm trying to append, rename, format and generate new variables. may goals are to; 1.…
Very weird spmap problem: "master data not sorted"Hello all Suddenly, I am having some unexplained problem with spmap: syntax which previously was wo…
Year and industry fixed efffectsHello; I have a paneldataset of the S&P 500 from 2002 to 2019 and need to implement industry an…
R2 difference from different regressionsArray Hello, i'm working on replicating Peters and Taylor(2016) i want to know how to compare R^2 fr…
An issue using esttab syntaxHello, I would like to show the `y' variable in excel when running each of the following regressions…
Subscribe to:
Post Comments (Atom)
0 Response to Difference in months between dates in year-month format
Post a Comment