0
$\begingroup$

I ran the Ljung-Box for a single series and find that the statistic is very high.

I am using 20 lags so the critical value is 31.4104 and the statistic is greater than that. So my conclusion is that the data is not independently distributed. I also test the squared residuals for the same series. Again I have high values. However, it is not clear to me how to interpret this last result? I am using R:

LjungBox(obj,lags= 20,order=0,season=1,squared.residuals=FALSE)

And tells me that when squared.residuals = TRUE, then apply the test on the squared values to check for Autoregressive Conditional Heteroscedastic, ARCH, effects.

How can I interpret this test and the results?

$\endgroup$
2
  • 1
    $\begingroup$ You talk about a series first and about residuals thereafter. Are you dealing with residuals from some model throughout or first with some original series and then residuals, or with an original series throughout? $\endgroup$ Commented Oct 25, 2017 at 18:44
  • $\begingroup$ @RichardHardy It is the same series all the way. No model has been applyed yet to the data. But I guess I might find heteroscedasticity like in real data. Thanks $\endgroup$ Commented Oct 25, 2017 at 23:55

1 Answer 1

1
$\begingroup$

So you have applied the Ljung-Box test on your original data, first with the option squared.residuals = FALSE and then squared.residuals = TRUE. In both cases you found the test statistic exceeds the critical value, hence you reject the null hypothesis. The null hypothesis in the first case is "there is no autocorrelation up to lag 20" and in the second case "there is no autocorrelation in the squares up to lag 20". The first result thus suggests presence of autocorrelation, and the second suggests presence of autoregressive conditional heteroskedasticity. That is how you interpret the test results.

$\endgroup$
2
  • $\begingroup$ the presence of autoregressive conditional heteroskedasticity indicates that a GARCH model should be used? thanks $\endgroup$ Commented Nov 2, 2017 at 19:35
  • $\begingroup$ @WilmerRojas, yes. $\endgroup$ Commented Nov 2, 2017 at 19:44

Your Answer

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

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