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
LaTeX font on eps figures: cannot get writepsfrag package to workHello, I cannot get writepsfrag to work. I am trying to have the same fonts on my Stata-produced fi…
Which F stats should I look at with ivlasso?Hi, I'm running IV regression with ivlasso in Stata. It reports several different first stage F sta…
Estimating asymmetrical confidence intervals for ICC using -nlcom-Dear all Out of curiosity I want to reproduce the calculations from: Code: cls use https://www.stat…
Dropping multiple missing observationsCurrently I'm working on a project in which I use Item response theory. I have 8 variables from a lo…
Forecasting a variableHi, I am using a panel dataset and for one of my variables I only have data 2014 to 2017. For my da…
Subscribe to:
Post Comments (Atom)
0 Response to ITSA error message in time series: _t already defined
Post a Comment