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
Creating Lead variables with respect to month (1, 3, 6) when I have daily datahello. I'm working on the U.S. stock market. I have entire stock market data ( thousands of stocks).…
Logit non-linear regressionHi, I have a non-linear model and wish to use logit command. Is the command the same for linear mod…
Is it okay to use multiple imputation to create imputed values in a second dataset?Say I have two datasets A & B. They have the same variables in each except that set A has one ad…
Using outreg2 to export Heckman results to LaTeXHi, I'm having problems using outreg2 to export the results from a Heckman model to LaTeX (same prob…
Translating do file to pdfI am using the following command: translate 4th_Assignmnet.do 4th_Assignmnet.pdf and get: transla…
Subscribe to:
Post Comments (Atom)
0 Response to Create local including next month's name
Post a Comment