I am working on a project that involves re-randomizing our sample every month. As could be expected, I want to include the name of the month in many of the variable names (e.g., treatment_Mar, treatment_Apr, etc.). However, I will be running the do-file for month M in the preceding month, M-1. Is there a way to create a local of next month's name? Because c(current_date) is a string, I'm stumped as to how I can add to/subtract from it.
Related Posts with Create local including next month's name
drawing sample of coefficients from a vce or correlation matrixHi everyone, I have a vce matrix as well as its corresponding correlation matrix which I obtained af…
how to save a vce output of biprobit model in excel and RHi everyone, I ran a biprobit model and used a post-estimation command of "estat vce" and "estat vce…
sorting dataHi Stata Forum, I have a long dataset of hospitalization data. I am looking at number of lower limb…
Stata regression command helpHi everyone! I am working on a project where I will be studying how subcontracting affects the abil…
Regression discontinuity in time and logit approachHi all, I have got a question concerning a regression discontinuity design with time series data. …
Subscribe to:
Post Comments (Atom)
0 Response to Create local including next month's name
Post a Comment