Hi I am trying to freeze a cointegration test contained in a loop to access the test values. When I simply run the test without the freeze command I get the results without any errors. However when I try to freeze it I get an illegal lag or index specification error. I cannot seem to figure out what I am doing wrong. I will show below the exact lines of coding I am using. Any direction would be very helpful.
'''works fine
coint(s,maxlag=12) cds_spread fitch_rate s_p_rate @ credit_spread term_spread short_int__rate
'''returns error
freeze(coint_test) coint(s,maxlag=12) cds_spread fitch_rate s_p_rate @ credit_spread term_spread short_int__rate
Thanks
Mike
Freezing Cointegration test
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Freezing Cointegration test
You have to use the group form of the command:
Code: Select all
freeze(coint_test) group.coint(s, maxlag=12) @ exogs
Re: Freezing Cointegration test
Thanks Gareth!
Who is online
Users browsing this forum: No registered users and 2 guests
