Hello everyone i am really new to stata and i have an econometrics paper due in a couple days and i have to perform some time series analysis on the data i have.
I am using Monthly data from 2007-12-01 to 2019-10-01 in a "YMD" format, which i have formatted and declared as a time series data
I am trying to create an "Embargo" variable which takes the value of 1 from 2019-01-01 to 2019-10-01 and 0 for all months before that. So i would really appreciate it if someone could provide me with some help in how to go about this dummy variable generating process using a date/period argument.
I have tried several commands but none have seemed to work thus far so any input would be welcomed.
Related Posts with Generating Dummy variables based on Monthly period
Download STATA 15 SE 64 Bit Full VersionDownload STATA 15 SE 64 Bit Full Version …
InterpretationI have the below model, how should I interpret B6: There is a decrease in children by 0.21(It does n…
Help summing data for men and womenHi, I have data on the number of people of each age in each local authority. The problem at the mome…
help with string variable comprising multiple linesHi Statalist, After importing from Excel (-import excel-; .xlsx), I have some string variable value…
equality-of-distributions testHow can I perform Kolmogorov-Smirnov-Lilliefors test of normality test? I know that "ksmirnov'" comm…
Subscribe to:
Post Comments (Atom)
0 Response to Generating Dummy variables based on Monthly period
Post a Comment