Hello Statlist,
I am trying to run ITSA on ttset panel data and would like to run a single group ITSA to look at the impact of a hurricane on new job creation (logged). When I run the following command:
itsa lnannualjobs, single treatid(18) trperiod(2005 2015) lag (1) fig posttrend
However, I get the error "Treatment periods not found in time variable: check trperiod()" when I run this command. In the dataset Orleans parish appears as the 18th county and the years recorded for new jobs goes from 2000-2015, but I only want to see the impact from 2005-2015. Everything seems correct, so I'm not quite sure why this is happening. Any suggestions? I've provided a screenshot of the dataset as it appears in STATA for review. I suspect it might be an issue with County1 being a string variable but it is encoded correctly, so I'm stumped.

I am trying to run ITSA on ttset panel data and would like to run a single group ITSA to look at the impact of a hurricane on new job creation (logged). When I run the following command:
itsa lnannualjobs, single treatid(18) trperiod(2005 2015) lag (1) fig posttrend
However, I get the error "Treatment periods not found in time variable: check trperiod()" when I run this command. In the dataset Orleans parish appears as the 18th county and the years recorded for new jobs goes from 2000-2015, but I only want to see the impact from 2005-2015. Everything seems correct, so I'm not quite sure why this is happening. Any suggestions? I've provided a screenshot of the dataset as it appears in STATA for review. I suspect it might be an issue with County1 being a string variable but it is encoded correctly, so I'm stumped.

Comment