Does varm use the current or lagged X

2 visualizaciones (últimos 30 días)
Martijn Riemers
Martijn Riemers el 20 de Jun. de 2020
Respondida: Pratyush Roy el 17 de Feb. de 2021
I'm trying to fit a yield dataset by means of a VARX model with the following formulation:
where is a vector of yields of different maturities and is a vector of factors from a macroeconomic dataset. Looking at the `varm` documentation leads me to believe only current values of will be used for estimation of .

Respuestas (1)

Pratyush Roy
Pratyush Roy el 17 de Feb. de 2021
Hi Martijn,
For an autoregressive model, the current output is dependent on past outputs and the present input. For the given equation, the present output depends on past output as well as past input.
As a workaround, the VARMA model can be used to model dynamical systems as described in the question. The link here shows functionalities like arma2ar which might be helpful to realise such models.
Hope this helps!

Categorías

Más información sobre Vector Autoregression Models en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by