My understanding of a simple ARIMA(1,0,0) equation is: $$y_t=\phi_1y_{t-1}+c+\varepsilon_t$$
Yet when I build an ARIMA(1,0,0) model on the consumption
column of the usconsumption
dataset in R, the forecast is not what I expect.
> library(forecast)
> library(fpp)
> data(usconsumption)
> tail(usconsumption[,1], 1)
[1] 0.8753521
> ar1 <- Arima(usconsumption[,1], order=c(1,0,0))
> forecast(ar1, 1)
Point Forecast Lo 80 Hi 80 Lo 95 Hi 95
2011 Q1 0.7979218 -0.03481309 1.630657 -0.4756363 2.07148
> summary(ar1)
Series: usconsumption[, 1]
ARIMA(1,0,0) with non-zero mean
Coefficients:
ar1 intercept
0.3553 0.7552
s.e. 0.0726 0.0780
sigma^2 estimated as 0.4222: log likelihood=-161.06
AIC=328.13 AICc=328.28 BIC=337.43
So using the forecast
function gives 0.7979 as the forecast, but using the equation would give 0.8753521*0.3553+0.7552=1.066213. I'm not understanding the discrepency.