Hi,
I would really appreciate it if any expert or any one who has tried this could help me out. So I found the G-H code by trubador and applied it to my data. I was able to run the test for the level shift model and the level shift with trend model. However, when I attempted to run it for the regime model, I obtained the error 'Near singular matrix error. Regressors may be perfectly colliner in "DO_GHC.LS Y C (@TREND>399-2) G".'
I am not really sure how to rid myself of this problem. Could anyone kindly be of assistance ASAP? I have attached my workfile and program just in case.
Thanks,
AKN
Gregory-Hansen Cointegration test error
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Gregory-Hansen Cointegration test error
- Attachments
-
- dissert1.wf1
- workfile
- (580.7 KiB) Downloaded 179 times
-
- g-h test.prg
- g-h program
- (5.29 KiB) Downloaded 243 times
Re: Gregory-Hansen Cointegration test error
The variable "lmaladl$" seems to be the source of the problem. It remains unchanged until 7/21/2005 from the beginning of the sample and leads to perfect multicollinearity at some point during the analysis. If that is the actual characteristic of that indicator, then you can either use a different sample or drop the variable from the analysis.
Re: Gregory-Hansen Cointegration test error
Thank you very much Trubador!! It seems that variable was really the issue...i just omitted it from the test. Thanks again. ^^ :D
AKN
AKN
Who is online
Users browsing this forum: No registered users and 2 guests
