A second order process (Xs) is said weakly stationary if
mX(s+σ)=mX(s) for all s,σ, that is, the mean function is invariant by translation;
rX(s1+σ,s2+σ)=rX(s1,s2) for all s1,s2,σ, that is, the autocorrelation function is invariant by translation.
Equivalent conditions
Condition 1 is equivalent to 1':mX(s)=constant for all s.
Proof of 1⇔1′.
(⇒) If 1 holds, letting σ=−s one gets mX(s)=mX(0) for all s, which is 1'.
(⇐) If mX(s)=constant for all s, then trivially mX(s+σ)=mX(s) for all s,σ, which is 1. □
Condition 2 is equivalent to 2' and 2'', where
2: rX(s1,s2)=rX(s1+σ,s2+σ) for all s1,s2,σ;
2': rX(s1,s2)=rX(s1−s2,0) for all s1,s2;
2'': rX(s+σ,s)=rX(σ,0) for all s,σ.
Proof.
2⇒2′: rX(s1,s2)=rX(s1−s2,s2−s2)=rX(s1−s2,0), where we have chosen σ=−s2 in 2.
2′⇒2′′: rX(s+σ,s)=rX(s+σ−s,0)=rX(σ,0), by direct application of 2'.
2′′⇒2: apply 2'' to both members of 2. For the left member, rX(s1,s2)=rX(s1−s2,0) (take s=s2, σ=s1−s2). For the right member, rX(s1+σ,s2+σ)=rX(s1+σ−s2−σ,0)=rX(s1−s2,0). Therefore rX(s1,s2)=rX(s1+σ,s2+σ). □
Remark. To check if a second order SP is weakly stationary, usually one checks that
(i) mX(s)=constant,
(ii) rX(s+σ,s)=rX(σ,0).
Consequences of weak stationarity
All the parameters of a second order SP are affected by weak stationarity. Let (Xs) be weakly stationary. Then:
MX(s)=constant and σX2(s)=constant, as it follows from the fact that, for all s∈S,
MX(s)=rX(s,s)=rX(s−s,0)=rX(0,0),
and
σX2(s)=MX(s)−mX2(s)=rX(0,0)−mX2(0).
For the autocovariance:
KX(s+σ,s)=rX(s+σ,s)−mX(s+σ)mX(s)=rX(σ,0)−mX2(0)=KX(σ,0).
Terminology. For a second order SP that satisfies the conditions for weak stationarity, mX(s)=E(Xs)=constant and rX(s+σ,s)=E(Xs+σXs)=function only of σ. We will write
mX(s)=mXandrX(s+σ,s)=rX(σ), and similarly KX(σ).
Lemma (symmetry). For a weakly stationary process (Xs), letting rX(σ)=E(Xs+σXs)=E(XσX0), it holds
rX(−σ)=rX(σ).
Xt=Acos2πft+Bsin2πft,t∈R,
where A,B are random variables with E(A)=E(B)=0, E(AB)=0, var(A)=var(B)=σ2 (and f is a fixed frequency). Then E(Xt)=0 for all t, and
rX(t+τ,t)=E(Xt+τXt)=E((Acos2πf(t+τ)+Bsin2πf(t+τ))(Acos2πft+Bsin2πft))=E(A2)cos2πf(t+τ)cos2πft+E(B2)sin2πf(t+τ)sin2πft=σ2cos(2πfτ).
(The mixed terms vanish because E(AB)=0; E(A2)=E(B2)=σ2 since the means are zero; the last step is the formula for the cosine of a difference.) The mean is constant and rX(t+τ,t) depends only on τ: the process is weakly stationary.
Covariance matrices of discrete time weakly stationary processes
Let (Xn)n∈Z be a weakly stationary SP and let W4=(X1,X2,X3,X4)T. Then
RW=E(W4W4T)=E(X12)E(X2X1)E(X3X1)E(X4X1)E(X1X2)E(X22)E(X3X2)E(X4X2)E(X1X3)E(X2X3)E(X32)E(X4X3)E(X1X4)E(X2X4)E(X3X4)E(X42)=rX(0)rX(1)rX(2)rX(3)rX(1)rX(0)rX(1)rX(2)rX(2)rX(1)rX(0)rX(1)rX(3)rX(2)rX(1)rX(0),
where we used the fact that rX(−k)=rX(k).
Toeplitz. For equally spaced consecutive times (X1,…,Xn) the matrix [rX(i−j)] is symmetric with constant diagonals, e.g. first row rX(0),rX(1),rX(2),rX(3).
Typical mistakes. Checking only the mean; testing rX at fixed s instead of for all s and σ; expecting a Toeplitz matrix for non-equally-spaced times; forgetting that a non-constant MX(s) immediately rules out weak stationarity.