How can I create a multivariate lag operator polynomial object with multiple lags?

Does exists something similar to LagOp that permits to obtain a lag operator polynomial object with a matrix of coefficients that represents a multivariate time series polynomial with multiple lags???
Unfortunately, LagOp permits to represent only a multivariate time series polynomial with a single lag (not multiple).
I need it because I'm trying to develope a function in order to estimate the parameter of a Vector Autoregressive model, declaring in the function's input the AR lags.
Thanks a lot!
Best
Alessandro

Answers (1)

It appears that LagOp does work with multiple lags in a multivariate time-series. For example, I am dealing with k variables in a VAR(p) and the following seems to work just fine:
coeff = [{eye(k)} A1 A2 ... Ap]; % Include the lag 0 coefficient.
lagoperator = LagOp(coeff);
where the Ai, for i=1,...,p, are the estimated matrices of VAR coefficients.

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Tags

Asked:

on 23 Oct 2013

Answered:

on 16 Feb 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!