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
Enter text in the top-left corner using collectHello, I've been learning how to make and export tables using the collect command, and I'm really e…
Bayesian Posteriors (Direct Computation) HelpHello all, I am currently working on a project and some internal comments suggested that I directly…
What is the prediction model to predict the probability?In a paper, Dasgupta, 2019 used Difference-in-Difference approach to see whether anticollusion laws …
Temporary names and Mata matrix operationsDoes anyone know why the space after the row-join operator and before the tempname matrix matters in…
Generate a new variable and assigns 1 after a value increases in other variable.Dear Statalist users, I've been still struggling for a few hours after I tried several commands sea…
Subscribe to:
Post Comments (Atom)
0 Response to Create local including next month's name
Post a Comment