rolling window regression for Cointegrated VAR model
Posted: Sat Jul 22, 2017 10:47 pm
Hi Tom and everyone,
I have 12 exchange rates variables with log form, which are all I(1) process. Thus I want to do the rolling window regression for Cointegrated VAR model, namely first use Johansen(1991) test to determine the number of cointegration vectors, if the number is zero, use one order VAR model to estimate and variance decomposition; if not, which means there's a cointergration relationship among variables, do reduced rank regression and use VECM model to estimate and variance decomposition. This method is based on Phillips(1998), Impulse Response and Forecast Error Variance Asymptotics in Nonstationary VARs, Journal of Econometrics, 83(1-2):21-56.
I want to use this Cointegrated VAR model in rolling window regression, but I don't know how to write the Rats code, especially the optimal lag order of VAR and number of cointegration vectors are determined dynamically in rolling window regression. So how can I do this?
Thank you in advance.
I have 12 exchange rates variables with log form, which are all I(1) process. Thus I want to do the rolling window regression for Cointegrated VAR model, namely first use Johansen(1991) test to determine the number of cointegration vectors, if the number is zero, use one order VAR model to estimate and variance decomposition; if not, which means there's a cointergration relationship among variables, do reduced rank regression and use VECM model to estimate and variance decomposition. This method is based on Phillips(1998), Impulse Response and Forecast Error Variance Asymptotics in Nonstationary VARs, Journal of Econometrics, 83(1-2):21-56.
I want to use this Cointegrated VAR model in rolling window regression, but I don't know how to write the Rats code, especially the optimal lag order of VAR and number of cointegration vectors are determined dynamically in rolling window regression. So how can I do this?
Thank you in advance.