6

I am following this tutorial (mirror) on ARIMA and GARCH modeling and I wanted to make sure I am interpreting the results correctly.

ARMA model:

> final.aic #-535902.3
[1] -535902.3
> final.order #3 0 0
[1] 3 0 0
> Box.test(resid(final.arma), lag=20, type="Ljung-Box") #X-squared = 26.275, df = 20, p-value = 0.1569

    Box-Ljung test

data:  resid(final.arma)
X-squared = 26.275, df = 20, p-value = 0.1569

the $p$-value is greater than 0.05 and as such we CAN say that the residuals are a realisation of discrete white noise. Hence the autocorrelation in the residuals that is explained by the fitted ARMA model.

GARCH model:

Box.test(resid(ftfinal.arima)^2, lag=20, type="Ljung-Box") #p-value < 2.2e-16 so correlation present?

IF there is evidence of serial correlation in the squared residuals, conclude that conditional heteroskedasticity is present in the original series.

So my results seem to imply that:

  1. the autocorrelation in the model is explained by ARMA(3,0,0).... Would a GARCH model even add anything then?;
  2. there IS regular variability (heteroskedasticity) being explained by the GARCH model.

So if I use a model with ARMA+GARCH it will explain more variance (and therefore predict better) than the two models individually?

Franck Dernoncourt
  • 42,093
  • 30
  • 155
  • 271
Rilcon42
  • 739
  • 2
  • 9
  • 18
  • I assume that by *diff log returns* you mean the original series on which you are fitting the ARMA model; I have edited your post accordingly. – Richard Hardy Sep 03 '16 at 08:46

1 Answers1

6

the p-value is greater than 0.05 and as such we CAN say that the residuals are a realisation of discrete white noise.

Strictly speaking, no. Failure to reject a null hypothesis (here: absence of autocorrelation) does not imply we can accept it. Also, absence of autocorrelation does not imply white noise (although it holds the other way around).

Would a GARCH model even add anything then?

Yes, why not? ARMA and GARCH have different targets so they are compatible (one may use none, either or both). Take a look at What is the difference between GARCH and ARMA?.

So if I use a model with ARMA+GARCH it will explain more variance (and therefore predict better) than the two models individually?

First, there is a question how well you are able to estimate the models. Models estimated on a finite sample may or may not be close to the "true" models (where by "true" I mean the best possible approximation within the ARMA-GARCH class of models of the real data generating process (DGP)).

Second, ARMA alone would explain more variance in sample than ARMA-GARCH (just as OLS would explain more than feasible GLS, regardless of which is closer to the true model in population). GARCH would not explain any variance if you leave the conditional mean part empty (without ARMA). And if the ARMA-GARCH model approximates the true DGP better than a plain ARMA and plain GARCH, the out of sample performance of ARMA-GARCH will be better -- as long as you can estimate the model sufficiently well. (And since ARMA-GARCH is a richer model than plain ARMA and plain GARCH, you would normally not be able to estimate it as precisely as plain ARMA and plain GARCH on any given dataset.)

So the answer is not clear cut, unfortunately. But if you discover conditional heteroskedasticity in the residuals of an ARMA model, it certainly makes sense to try appending a GARCH specification to ARMA and seeing what happens.

Richard Hardy
  • 54,375
  • 10
  • 95
  • 219
  • Slightly related question. Is there a website out there where I can upload cryptocurrency binary price data (like BTC prices in USD) and then plot ARIMA-GARCH projections? – Volomike Jul 04 '17 at 05:08
  • @Volomike, sorry, I do not know the answer. – Richard Hardy Jul 04 '17 at 10:00
  • @RichardHardy I am doing what you said above. Fitted an ARIMA to the stock returns and added garch effects. However, GARCH(1,1) is fine but the ARIMA is significan, non-invertible and non-stationary. Should I just remove the mean equation? – user91991993 Aug 02 '17 at 22:59
  • @Alex, Probably you should try to address the reasons why you get a noninvertible and nonstationary result. Perhaps your series are integrated, then you could take their first differences and proceed from there. – Richard Hardy Aug 03 '17 at 05:37
  • the series is already differenced and the ADF test indicates that is stationary. when I add the GARCH strigth to ARIMA I seem to have some problems. Also, if I fit an ARIMA save the residuals and then apply GARCH to the residuals do I have to specify the mean equation as "residuals ~ constant" in Eviews is a little bit different. I hope it is clear what I am saying. – user91991993 Aug 03 '17 at 14:31
  • @Alex, I think this is not the right place for this discussion. I know you have posted two related questions. This discussion should be there. If I had more time, I would comment or answer there; unfortunately, I am pretty busy at the moment... I hope someone else will be able to help you. For the moment, I could only reiterate that instead of dropping the ARMA part, I would investigate what actually is going wrong there and why. – Richard Hardy Aug 03 '17 at 14:40