1
$\begingroup$

I am currently working with ARIMA models and I am a little confused about the way they are formulated. I found Rob J. Hyndman's blog post "Constants and ARIMA models in R" explaining it.

But still, I'm confused. I am looking to fit an ARIMA(1,2,1) model to my dataset, $y_t$ for $t=1,...,n$. I gather from the website that it takes the form

$$(1-\phi B)(1-B)^2y_t=\mu(1-\phi)+(1+\theta B)\varepsilon_t$$

with $\mu$ being the mean of $(1-B)^2y_t$, that is the mean of

$$y_t-2y_{t-1}+y_{t-2}.$$

I guess I don't understand which $y_t$'s we need to take the mean of. Is it those of our dataset? Or if otherwise $y_t$ would depend on $y_t$ itself which does not make much sense.

$\endgroup$
3
  • 1
    $\begingroup$ What is actually the question? (The title of the post could be made more specific, I think.) $\endgroup$ May 18, 2016 at 19:29
  • $\begingroup$ The question is how the mean of $\mu$ is calculated. I apologise for the title, I'm not too familiar with the terminology. $\endgroup$
    – user128836
    May 19, 2016 at 8:05
  • $\begingroup$ I was going through my old answers and noticed this one was not accepted. Do you perhaps need further clarification? $\endgroup$ Feb 15, 2017 at 10:48

1 Answer 1

1
$\begingroup$

I guess I don't understand which $y_t$'s we need to take the mean of. Is it those of our dataset? Or if otherwise $y_t$ would depend on $y_t$ itself which does not make much sense.

Yes, you estimate the mean of $(1-B)^2 y_t$ using the data set at hand. And yes, the fitted value of $y_t$ depends on all data points $\{y_t\}_{t=1}^T$ (thus including the data points succeeding $y_t$ in time).

However, the model specifies that $y_t$ (not its fitted value) depends only on the past $y_t$s.

There is no paradox here once you separate the fitted values and the actual observations.

$\endgroup$
4
  • $\begingroup$ I see, thanks. So given my dataset $y_t$, $t=1,...,n$ we should get $\mu=\frac{1}{n-2}(y_t-2y_{t-1}+y_{t-2})$, $t=3,...,n$, yes? This just dosen't give what the forecast package gives. $\endgroup$
    – user128836
    May 26, 2016 at 10:15
  • 1
    $\begingroup$ Did you know that what is called "intercept" in ARIMA models in R is actually the mean? See here, "Issue 1". Perhaps this solves your problem. $\endgroup$ May 30, 2016 at 12:00
  • $\begingroup$ Hi @RichardHardy, may I ask which is 'issue 1' from the link you provided? I can't seem to find it. $\endgroup$ Dec 30, 2022 at 10:46
  • $\begingroup$ @KevinChoonLiangYew, try this. $\endgroup$ Dec 30, 2022 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.