I have a problem with my panel data ( which is organised by month and municipality) were I want to take the difference between a pair of month from two different years, ex the observation for jan 2020 would be jan2020-jan2019 and the year before would imply jan2019-jan2018. This will be done for all month in my sample starting from May 2018 and going on to May 2020. I have played around with "egen" but don't really see how I can solve it. Any ideas how I could fix it?
Related Posts with Subtract over a particular pair of months
Significant OLS results but insignificant IV results and the insignificant endogeneity testDear all, I want to explore the effects of X on Y. Considering X might be an exogenous variable, I …
Spmap plotting regression coefficients and indicating significanceHi everyone, I want to plot country specific regression coefficients as well as the significance le…
Reshape wide to long: many variables of many yearsHi All, I have a dataset with more than 10 variables of more than 10 years in wide shape. I'm tryin…
Standardized regression coefficientsSorry if I am posting a mundane question. I did enough google search in vain hence thought of postin…
Transforming a series to be standard normal in panel dataHi all, May I have a basic question: how can I make/transform a series/variable to be standard norm…
Subscribe to:
Post Comments (Atom)
0 Response to Subtract over a particular pair of months
Post a Comment