Estimating ARIMA in dlogs but forecasting in logs
Posted: Tue Nov 09, 2010 8:59 am
Hello,
Please see my small forecasting loop. What I do is to estimate an ARIMA equation in dlogs and forecast in dlogs but I want to estimate the ARIMA in dlogs but forcast in logs. Is there a way of doing it?
thanks
for !j=1 to 36
smpl 1990Q1 1999Q4+!j-1
'estimate the ARIMA model
equation eq22_!j.ls dlcopp c ar(1) ar(2) ma(1) ma(2) dum2 dum3 dum4
smpl 1999Q4+!j 1999Q4+!j+7
'forecast 8 quarters ahead
forecast copp_22_!j
'calculating mean squared errors
series rmse22_!jcopp = (copp_22_!j - dlcopp)^2
next
Please see my small forecasting loop. What I do is to estimate an ARIMA equation in dlogs and forecast in dlogs but I want to estimate the ARIMA in dlogs but forcast in logs. Is there a way of doing it?
thanks
for !j=1 to 36
smpl 1990Q1 1999Q4+!j-1
'estimate the ARIMA model
equation eq22_!j.ls dlcopp c ar(1) ar(2) ma(1) ma(2) dum2 dum3 dum4
smpl 1999Q4+!j 1999Q4+!j+7
'forecast 8 quarters ahead
forecast copp_22_!j
'calculating mean squared errors
series rmse22_!jcopp = (copp_22_!j - dlcopp)^2
next