Dates
Posted: Tue Oct 21, 2014 5:39 pm
I have a program that I want to run on data sets with different start dates. At the beginning of the program, I have defined a several scalars used in the program that I modify depending on the data set. Can I do something similar for dates that define the sample period in the regressions I want to run?
For example, in one date set the start and end dates may be 1980M1 and 2014M9 and another may span 1990M1 to 2013M12. Is it possible to define variables (e.g., startdate=1980M1 and enddate=2014M14) at the beginning of the program to make it easier to accommodate the different data structures?
For example, in one date set the start and end dates may be 1980M1 and 2014M9 and another may span 1990M1 to 2013M12. Is it possible to define variables (e.g., startdate=1980M1 and enddate=2014M14) at the beginning of the program to make it easier to accommodate the different data structures?