Hi,
I have quarterly data over the Retail Price Index of a territory, and I built an ARIMA model. Now I'm trying to do forecasting, and of course, I turned to the Predict command after first estimating the Arima model I wanted to use. My RPI data only goes up until the first quarter of this year, ie Q1 2022, so I'm trying to predict the data for the future quarters.
I used the command:
Now, this does generate a new variable called chatdy, but when I go to the Data Editor, this variable ALSO only has data up until Q1 2022 - it doesn't predict the future values.
Clearly I'm doing something wrong and probably something really elementary, but can anyone tell me what?
Prior to doing this but after running the ARIMA regression I used
predict chat, y
predict stdp
twoway lfitci gdp chat, stdp || scatter gdp chat
I used the tsset command for the quarterly variable.
What do I need to do?
I have quarterly data over the Retail Price Index of a territory, and I built an ARIMA model. Now I'm trying to do forecasting, and of course, I turned to the Predict command after first estimating the Arima model I wanted to use. My RPI data only goes up until the first quarter of this year, ie Q1 2022, so I'm trying to predict the data for the future quarters.
I used the command:
predict chatdy, dynamic(tq(2022q2)) y
Clearly I'm doing something wrong and probably something really elementary, but can anyone tell me what?
Prior to doing this but after running the ARIMA regression I used
predict chat, y
predict stdp
twoway lfitci gdp chat, stdp || scatter gdp chat
I used the tsset command for the quarterly variable.
What do I need to do?

Comment