Hello,
After having the error in my data, I'm following the stata example: https://sites.google.com/site/metrics4real/home/test
sysuse cigsales_single, clear
tsset year
* Here we specify two treatment periods, starting in 1982 and 1989.
itsa cigsale, single treat(3) trperiod(1982 1989) lag(1) fig
I got an error message when I have two numbers in trperiod( ): Treatment periods not found in time variable: check trperiod()
The year variable has a numeric format. What should I do to fix the error? Thank you.
Jungwon
After having the error in my data, I'm following the stata example: https://sites.google.com/site/metrics4real/home/test
sysuse cigsales_single, clear
tsset year
* Here we specify two treatment periods, starting in 1982 and 1989.
itsa cigsale, single treat(3) trperiod(1982 1989) lag(1) fig
I got an error message when I have two numbers in trperiod( ): Treatment periods not found in time variable: check trperiod()
The year variable has a numeric format. What should I do to fix the error? Thank you.
Jungwon
Comment