4.2 Multivariate Time Series

Consider n time series variables {Y1t},,{Ynt}. A multivariate time series is the (n×1) vector time series {Yt} where the ith row of {Yt} is {Yit}. That is, for any time t, Yt=(Y1t,,Ynt). Multivariate time series analysis is used when one wants to model and explain the interactions and co-movements among a group of time series variables. In finance, multivariate time series analysis is used to model systems of asset returns, asset prices, exchange rates, the term structure of interest rates, and economic variables, etc.. Many of the time series concepts described previously for univariate time series carry over to multivariate time series in a natural way. Additionally, there are some important time series concepts that are particular to multivariate time series. The following sections give the details of these extensions.

4.2.1 Stationary and ergodic multivariate time series

A multivariate time series {Yt} is covariance stationary and ergodic if all of its component time series are stationary and ergodic. The mean of Yt is defined as the (n×1) vector E[Yt]=(μ1,,μn)=μ, where μi=E[Yit] for i=1,,n. The variance/covariance matrix of Yt is the (n×n) matrix var(Yt)=Σ=E[(Ytμ)(Ytμ)]=(var(Y1t)cov(Y1t,Y2t)cov(Y1t,Ynt)cov(Y2t,Y1t)var(Y2t)cov(Y2t,Ynt)cov(Ynt,Y1t)cov(Ynt,Y2t)var(Ynt)). The matrix Σ has elements σij= cov(Yit,Yjt) which measure the contemporaneous linear dependence between Yit and Yjt that is time invariant. The correlation matrix of Yt is the (n×n) matrix cor(Yt)=C0=D1Γ0D1, where D is an (n×n) diagonal matrix with jth diagonal element σj=sd(Yjt).

4.2.1.1 Cross covariance and correlation matrices

For a univariate time series {Yt}, the autocovariances, γk, and autocorrelations, ρk, summarize the linear time dependence in the data. With a multivariate time series {Yt} each component has autocovariances and autocorrelations but there are also cross lead-lag covariances and correlations between all possible pairs of components. The lag k autocovariances and autocorrelations of Yjt, for j=1,,n, are defined as γkjj=cov(Yjt,Yjtk),ρkjj=corr(Yjt,Yjtk)=γkjjσ2j, and these are symmetric in k: γkjj=γkjj, ρkjj=ρkjj. The cross lag-k covariances and cross lag-k correlations between Yit and Yjt are defined as γkij=cov(Yit,Yjtk),ρkij=corr(Yjt,Yjtk)=γkijσ2iσ2j, and they are not necessarily symmetric in k. In general, γkij=cov(Yit,Yjtk)cov(Yjt,Yitk)=γkji. If γkij0 for some k>0 then Yjt is said to lead Yit. This implies that past values of Yjt are useful for predicting future values of Yit. Similarly, if γkji0 for some k>0 then Yit is said to lead Yjt. It is possible that Yit leads Yjt and vice-versa. In this case, there is said to be dynamic feedback between the two series.

All of the lag k cross covariances and correlations are summarized in the (n×n) lag k cross covariance and lag k cross correlation matrices Γk=E[(Ytμ)(Ytkμ)]=(cov(Y1t,Y1tk)cov(Y1t,Y2tk)cov(Y1t,Yntk)cov(Y2t,Y1tk)cov(Y2t,Y2tk)cov(Y2t,Yntk)cov(Ynt,Y1tk)cov(Ynt,Y2tk)cov(Ynt,Yntk)),Ck=D1ΓkD1. The matrices Γk and Ck are not symmetric in k but it is easy to show that Γk=Γk and Ck=Ck.

Example 4.5 (Multivariate Gaussian white noise processes)

Let {Yt} be an n×1 vector time series process. If YtiidN(0,Σ) then {Yt} is called multivariate Gaussian white noise and is denoted YtGWN(0,Σ). Notice that E[Yt]=0,var(Yt)=Σ,cov(Yjt,Yjtk)=γkjj=0(fork>0)cov(Yit,Yjtk)=γkij=0(fork>0) Hence, the elements of {Yt} are contemporaneously correlated but exhibit no time dependence. That is, each element of Yt exhibits no time dependence and there is no dynamic feedback between any two elements. Simulating observations from GWN(0,Σ) requires simulating from a multivariate normal distribution, which can be done using the mvtnorm function rmvnorm(). For example, to simulate and plot T=250 observation from a bivariate GWN(0,Σ) process with Σ=(4111)C=(10.50.51) use:

library(mvtnorm) 
Sigma = matrix(c(4, 1, 1, 1), 2, 2) 
set.seed(123) 
Y = rmvnorm(250, sigma=Sigma) 
colnames(Y) = c("Y1", "Y2") 
ts.plot(Y, lwd=2, col=c("black", "blue")) 
abline(h=0)
legend("topleft", legend=c("Y1", "Y2"), 
       lwd=2, col=c("black", "blue"), lty=1)
Simulated bivariate GWN process.

Figure 4.7: Simulated bivariate GWN process.

The simulated values are shown on the same plot in Figure 4.7. Both series fluctuate randomly about zero, and the first series (black line) has larger fluctuations (volatility) than the second series (blue line). The two series are contemporaneously correlated (ρ12=0.5) but are both uncorrelated over time (ρk11=ρk22=0,k>0) and are not cross-lag correlated (ρk12=ρk21=0,k>0).