Hi all, maybe it,S a little silly question, but i’m new in Time Series and Stata. I used a dataset for panel data and I want to confirm results by interrupted time series using the same data set. Basically I count on 26 states, 12 periods (2004 to 2015), and a balanced set, counting a total of 312 observations. The variable I used is the infant mortality rate (IMR) of all states with treatment period starting in 2010. I used the single unit model and as I mentioned trying to evaluate the possibility of any change in IMR trende after treatment. I used these codes do set data to time series, which worked fine in my first try. I wrote codes to set data and run itsa for a specific state (id = 20) as follows;
Code do set data: . tsset id t (id = state code, 1...26 and t = years, 2004...2015)
Code to run itsa: . itsa imr, single treatid(20) trperiod(2010) lag(1) posttrend figure
As I said, it came up with results which unfortunately I cleared before saving, and now when I try to run the same code I receive the error message “_t already defined”.
I do not understand why these codes worke properly and now, even if I start all over, it shows this message over and over.
Someone may halp me to fix this.
Thank you all.
Related Posts with ITSA error message in time series: _t already defined
stripplot specificationsDear colleagues I have a variable named Total Compensation1 and another called Affiliationindex1 (f…
graph pie with some of percentagesHow to display the fraction when percentage is above 20%, I know how to display all percentages Cod…
Rolling regression or loops - missing valuesDear All I have a peculiar issue I wish to share with you, in the hope of receiving some advice. I …
Oaxaca decomposition for nonlinear regression (nldecompose)Hello readers, I am trying to decompose (using Ben Jann’s nldecompose) differences in the probabilit…
GenerateI am using two data set, one contains data for children and another for woman. Now both data sets ha…
Subscribe to:
Post Comments (Atom)
0 Response to ITSA error message in time series: _t already defined
Post a Comment