exponential Smoothing prevision sample fit reestimation
Posted: Sun Dec 11, 2016 12:59 pm
Hello,
I try to make a prevision with an exponential smoothing but I have a probleme with the sample fit with reestimation prevision.
For the prevision I do:
do time = prevstart,prevend-stepsahead
esmooth(trend=exponential,estimate, resids=resexo2,fitted=forecast1) ev 1960:1 *
forecast(model= ?????,from=time+1,to=time+stepsahead,stderrs=stderrs11,noprint, results=fore18)
compute rhat1(time+stepsahead)=fore18(1)(time+stepsahead)
end do
set prevmod2 1969:01 2014:01 = rhat1
But I don't know how to make a define in my exponnetial smoothing, so I can't call a model in my forecast.
I try to make a prevision with an exponential smoothing but I have a probleme with the sample fit with reestimation prevision.
For the prevision I do:
do time = prevstart,prevend-stepsahead
esmooth(trend=exponential,estimate, resids=resexo2,fitted=forecast1) ev 1960:1 *
forecast(model= ?????,from=time+1,to=time+stepsahead,stderrs=stderrs11,noprint, results=fore18)
compute rhat1(time+stepsahead)=fore18(1)(time+stepsahead)
end do
set prevmod2 1969:01 2014:01 = rhat1
But I don't know how to make a define in my exponnetial smoothing, so I can't call a model in my forecast.