4
$\begingroup$
  1. I am doing a monthly rainfall forecasting model. I have monthly data from 1998 to 2012. I found in previous research that they have used partial autocorrelations and stepwise regression as an input variable selection method so they can be used as inputs for the neural network.

    My questions is:
    What is the procedure I must follow to choose the "lag length"? The previous researchers used lag24 and lag25 without justification or citation.

  2. The autocorrelation of one of the studies applied (lag length = 25) to the autocorrelation and the the plot showed that lag 24 is the highest and lag1, lag4, lag11, lag12 showed values above the confidence level (95%). So according to these values they have selected all 24 lags (lag1, lag2, lag3, ..., lag23, lag24) as the most significant lags and applied them to the stepwise regression to find the most significant variables among the 24.

    My question here is:
    If we used autocorrelation and the results showed that only five lags are above the confidence level, why do we need to apply them again to stepwise regression? Why not only apply the lags above the confidence level to the stepwise regression or just proceed to the neural network and skip the stepwise regression?

$\endgroup$
1
  • $\begingroup$ Whats your time variable look like? Days, hours, weeks? If it is hourly data - 24 lags sounds good´? $\endgroup$
    – Thorst
    Commented Oct 2, 2015 at 11:35

2 Answers 2

3
$\begingroup$

Question 1: Rob J Hyndman has a nice blog post on lag length selection for Ljung-Box test, which is very similar in nature to examining the ACF and PACF plots. He says

...we rec­om­mended using $h=10$ for non-​​seasonal data and $h=2m$ for sea­sonal data, where $m$ is the period of sea­son­al­ity. These sug­ges­tions were based on power con­sid­er­a­tions. We want to ensure that h is large enough to cap­ture any mean­ing­ful and trou­ble­some cor­re­la­tions. For sea­sonal data, it is com­mon to have cor­re­la­tions at mul­ti­ples of the sea­sonal lag remain­ing in the resid­u­als, so we wanted to include at least two sea­sonal lags.

Thus using lag $h=24$ is in line with the suggestion for monthly data where $m=12$.

Question 2: I share your confusion. Perhaps the authors checked the ACF and PACF plots just as an extra diagnostic and expected that a stepwise regression would pick up those lags by its algorithm. One thing to remember, though, is that a couple or more regressors may be individually insignificant but jointly significant, which would not be easy to detect from ACF and PACF plots only. I guess stepwise regression takes care of that, at least partly.

$\endgroup$
0
0
$\begingroup$

The coefficients in a lagged regression model (ADL/PDL) are the conditional impacts of each lag thus if anything you should be using the Partial ACF to "preliminarily identify appropriate lag structure" not the ACF which only measures the unconditional impact. Having said that both the ACF and the PACF implicitly assume no Pulses, no Level/Step Shifts, no Seasonal Pulses and no time trends ( series of the form 1,2,3,...t and/or 0,0,0,0,1,2,3,4 ...) and of course no parameter changes over time and a constant error variance.

$\endgroup$

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.