First point. Yes, seasonally adjusted data can still exhibit seasonality. As noted on page 112 in Enders (1995):
Suppose you collect a data set that the U.S. Bureau of the Census has
"seasonally adjusted" using its X-11 method. In principle, your
seasonally adjusted data should have the seasonal pattern removed.
[...] Even if you use seasonally adjusted data, a seasonal pattern
might remain. This is particularly true if you do not use the entire
span of data; the portion of the data in your study can display more
(or less) seasonality than the overall span.
Second point. You ought to be careful when using the acf()
function in R at the identification stage of ARIMA analysis! The reason being is that the horizontal blue dashed-line that you are referring to is not based on Bartlett's approximations - unless you specify the argument ci.type="ma"
.
The estimated standard error derived by Bartlett is calculated as:
\begin{equation}
s(r_{k}) = \left( 1 + 2 \sum_{j=1}^{k-1} r_{j}^{2} \right)^{1/2} n^{-1/2}
\end{equation}
where $r_{k}$ is the estimated autocorrelation coefficient at lag $k$ and $n$ is the number of observations (see Pankratz 1983, p.68-74).
As far as I am aware, (unless you specify the argument ci.type="ma"
) the horizontal blue dashed-line in the acf()
plot is based on the formula:
\begin{equation}
s(r_{k}) = n^{-1/2}
\end{equation}
and while this standard error is fine for testing the statistical significance of partial autocorrelation coefficients at the identification stage, it is not, however, appropriate for testing the statistical significance of autocorrelation coefficients at the identification stage.
To see this in action, consider the following ACF and PACF generated using acf()
and pacf()
in R.
The data is not of importance, but in case you're wondering, it is quarterly change in business inventories (a better description can be found at end of this answer).
From the ACF, it seems to be the case that the autocorrelation coefficients at lags 1-6 and at lags 10-13 are statistically significant. From the PACF, there appears to be one significant spike at the first lag. This reading is only partially true, however. It is correct that there is a single spike in the PACF at the first lag, but the ACF reading is erroneous and here's why.
The ACF and PACF shown below is for the exact same data except this time I have plotted a solid red line based on Bartlett's approximations to the ACF. The solid red line on the PACF is the same as before since there is nothing wrong with it.
We get a far clearer reading this time by using Bartlett's standard errors. The ACF decays to statistical insignificance rather quickly. Only the first three autocorrelations are significantly different from zero at about the 5% level. That is, only the first three spikes extend beyond the solid red line (not 1-6 and 10-13!). Coupled with the fact that there is only one significant spike in the PACF at lag 1, we can tentatively identify an AR(1) model for this data.
This is just one example and I could supply others (perhaps more illustrative ones), but if you continue to use acf()
(without specifying ci.type="ma"
) at the identification stage of ARIMA analysis, expect to draw inappropriate conclusions from the ACF when identifying tentative models.
My concluding suggestion would be to replace the horizontal blue dashed-line on your ACF with one like the solid red-line that I've plotted in the ACF above. You can do this by specifying the argument ci.type="ma"
. If you have trouble doing that, let me know or post your data and I'll do it for you. Also, I doubt the autocorrelation at lag 12 of your data is statistically significant; as a general rule, the red solid line widens as lag length increases and it also lies beyond the blue dashed line.
Note: the default usage of acf()
is actually fine at the diagnostic checking stage!
References:
Bartlett, M.S. (1946) On the theoretical specification and sampling properties of autocorrelated time series. Supplement to the Journal of the Royal Statistical Society 8 27-41.
Enders, W. (1995) Applied Econometric Time Series, New York, NY: John Wiley and Sons.
Pankratz, Alan (1983) Forecasting with univariate Box–Jenkins models: concepts and cases, New York: John Wiley & Sons.
Data details:
Quarterly change in business inventories as appears in a case study of Pankratz (1983). The original series can be found in Business Conditions Digest, November 1979, p.97. The data is also available at http://robjhyndman.com/tsdldata/books/pankratz.dat and the case study itself can be downloaded from the Wiley Online Library.
acf(diff(diff((rnorm(100)))))
. I know that wasn't your question, but seeing 'second difference' & 'MA(1)' always sets off alarm bells for me $\endgroup$diff(x, d=2)
would be a little faster to run thandiff(diff(x))
on big data. $\endgroup$