13

What is the relationship between autocorrelation and non-stationary?

Is it true that non-zero autocorrelation $\implies$ non-stationary, but not vice versa?

JPN
  • 826
  • What do you mean with "Is it true that autocorrelation"? as you stated it for me the crucial information/property about autocorrelation is missing: do you mean autocorrelation is = 0 or != 0, does (not) exist and is finite, decays slowly/fast, depends on the point in time rather than lag, ...? what property of the autocorrelation do you want to relate to non-stationarity? – Georg M. Goerg Aug 19 '15 at 03:03
  • What I meant was does autocorrelation imply non-stationary? – JPN Aug 19 '15 at 10:50
  • @GeorgM.Goerg there is an implication arrow in the statement. Maybe there is an issue with MathJax rendering in your browser? – KOE Aug 19 '15 at 13:33
  • I do see the implication arrow of A => B, where A = "autocorrelation" and B = "non-stationary". however, for me just "autocorrelation" is not a statement alone; "autocorrelation = 0" or "autocorrelation != 0" is a statement. but now I guess OP meant that autocorrelation is non-zero, as is in the statement "time series with autocorrelation" where it;s implied you mean it's non-zero, as otherwise you wouldnt say it. I'll add that to original post to clarify – Georg M. Goerg Aug 19 '15 at 21:08

2 Answers2

17

Neither is true. Consider the two following examples:

(1) Let $\xi \sim N(0,1)$ and define the stochastic process $X_i=\xi, i=1,2,\dots$. it's easy to check that this process is (strongly) stationary, while at the same time $\mathrm{Cov}(X_i, X_j)=1, \forall i,j$.

(2) Consider a stochastic process consisting of independent Gaussian variables $X_i \sim N(0, i), i=1,2,\dots$. This process is clearly not stationary, but the autocorrelation is zero for all lags since the variables are independent.

KOE
  • 4,541
  • 2
    +1 You might prefer to write "zero autocorrelation," since many people would naturally interpret "no autocorrelation" as "the autocorrelation is not defined." – whuber Aug 18 '15 at 20:39
  • Could you please clarify for someone new to stats how you're defining those series?

    I tried using Python to confirm this, with an ACF plot and adfuller found that both have ~0 autocorrelation and are stationary.

    n = 10000

    (1)

    variance = np.array([1 for i in range(1, n+1)]) samples2 = np.random.normal(loc=0, scale=variance)

    (2)

    variance = np.array([i for i in range(1, n+1)]) samples2 = np.random.normal(loc=0, scale=np.sqrt(variance))

    – Mike Jan 28 '23 at 21:24
8

Autocorrelation doesn't cause non-stationarity. Non-stationarity doesn't require autocorrelation. I won't say they're not related, but they're not related the way you stated.

For instance, AR(1) process is autocorrelated, but it's stationary: $$x_t=c+\phi_1 x_{t-1}+\varepsilon_t$$ $$\varepsilon_t\sim\mathcal{N}(0,\sigma)$$

You can see that the unconditional mean is $E[x_t]=\frac{c}{1-\phi_1}$, i.e. stationary.

I(1) is non-stationary: $$x_t=x_{t-1}+\varepsilon_t$$ Here, errors $\varepsilon_t$ are not autocorrelated, but $x_t$ are autocorrelated: $\operatorname{cov}[x_t,x_{t-1}]\ne 0$.

Obviously, we want $|\phi_1|<1$, otherwise, AR(1) will blow up, as Richard Hardy noted.

Aksakal
  • 61,310