Multivariate Time Series


Two of the common types of multivariate models are multiple regression with correlated errors and vector autoregression, which use exogeneous variables to help predict the response variable. In addition to using multiple variables at the same time $t$ as the response, lagged variables may be useful for predicting the response.

Lagged Variables


Lag effect - the value of a variable at a previous time is correlated with the repsonse at the current time. dplyr::lag can be used to lag variables in R.

The cross-correlation between two variables at multiple lags may be useful in assessing if lags of a variable would be useful in the model. The cross-correlation between variables $X_{t1}$ and $X_{t2}$ at lag k is the correlation between $X_{t,1}$ and $X_{t-k,2}$. In R, the function ccf will calculate the cross-correlation between two variables for a given range of lags.

Multiple Linear Regression Models


Notation


  • General Form
$$ y_t = \beta_0 + \beta_1 X_{t1} + \beta_2 X_{t2} + ... + \beta_m X_{tm} + Z_t $$

Where $Z_t$ may satisfy an AR(p) process.

  • Each realization is of length $n$.
$$ Y_t = y_1, y_2, ..., y_n $$$$ Z_t = z_1, z_2, ..., z_n $$
  • The $m$ independant variables are referred to by $X_{tm}$ as should below.
$$ X_{t1} = x_{11}, x_{21}, x_{31}, ..., x_{n1} $$$$ X_{t2} = x_{12}, x_{22}, x_{32}, ..., x_{n2} $$

Vector Autoregressive (VAR) Models


VAR models use an autoregressive approach to model the correlation between multiple time series. The computation by hand is significant.

In R, use VARselect and VAR from vars.

References


  • [1] W. Woodward and B. Salder, "Multivariate Time Series", SMU, 2019