Despite my reading and re-reading of the Stata manuals, the myriad of ways in which datetime variables can be stored and how they must be accessed (in addition to most of the paradigms in Stata, frankly) continues to elude me.
I have a dataset that contains data at the monthly granularity stored as e.g. "Dec 1990", "Mar 2001", etc. I have used tsset and am now attempting to pass the date "Dec 1990" into the trperiod() option of the synth program. I have tried all sorts of combinations of using date(), dofm(), tm(), etc. but Stata just laughs at me and says my syntax/type/name is invalid.
Can anyone provide some guidance as to how I can actually specify a monthly date so I can hopefully wrap this project and never use Stata again?
Thanks!
I have a dataset that contains data at the monthly granularity stored as e.g. "Dec 1990", "Mar 2001", etc. I have used tsset and am now attempting to pass the date "Dec 1990" into the trperiod() option of the synth program. I have tried all sorts of combinations of using date(), dofm(), tm(), etc. but Stata just laughs at me and says my syntax/type/name is invalid.
Can anyone provide some guidance as to how I can actually specify a monthly date so I can hopefully wrap this project and never use Stata again?
Thanks!

Comment