We know that the general ARIMA equation is given by:
Yt^ = μ + Φ1Yt-1 + …+ ΦpYt-p - θ1et-1 - … - θqet-q
The following data is given:
Period(s): 1 2 3 4 5 6 7
Yt: 25 30 29 31 35 34 -
Yt-1: * 25 30 29 31 35 34
d1=Yt-Yt-1 * 5 -1 2 4 -1 -
Using simple linear regression, we get μ = 0.8955 and Φ1 = 1.522
How to manually calculate the forecasted value of Yt^ for the 7th period using non-seasonal ARIMA (0,1,0) and non-seasonal ARIMA (1,1,2)?
[So far I know, the values of coefficients of the error terms or θ’s are estimated by non-linear optimization methods (hill-climbing) as the error may not be independent variable. But how the non-linear optimization method is manually performed in this case in order to find out the values of the error coefficients?]
Can anybody please help me?