Clear Filters
Clear Filters

egcitest with constraint

3 views (last 30 days)
Xavier
Xavier on 29 Feb 2012
Hi,
I am using the function egcitest in order to find a cointegration relationship between several variables. I have 2 issues:
First, it looks like the egcitest works only with 12 variables. I have 40 of them ...Do you know a way to increase the test to more than 12 variables.
Second, I would like to input some constraints on the values that the cointegrating vector can take. For example, from the MATLAB help example on egcitest, we have: a = reg(2).coeff(1); b = reg(2).coeff(2:3);
I would like to run egcitest specifying something like 1<b(1,1)<2, 0<b(1,2)<1.
Thanks in advance for your help.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!