How to save cointegrating vector from a VECM output
Posted: Thu May 12, 2016 4:14 am
Hello,
I am running a rolling window VECM model and would like to save the cointegrating vectors.
At the moment this is what I am doing
here, {xd} is the deterministic term, {xr} is the rank order, and {xl} is the optimal lag order, all these are matrix elements.
As you can see, I am using freeze to save cointegrating vectors from tables, but this is much inefficient method. Is there a function other than freeze that can be used to save cointegrating vectors?
Thanks
I am running a rolling window VECM model and would like to save the cointegrating vectors.
At the moment this is what I am doing
Code: Select all
var ecm.ec({xd}, {xr}) 1 {xl} gdp cap lab xyz
freeze(cv) ecmAs you can see, I am using freeze to save cointegrating vectors from tables, but this is much inefficient method. Is there a function other than freeze that can be used to save cointegrating vectors?
Thanks