Gregory-Hansen Cointegration test error
Posted: Sat Aug 17, 2013 3:49 pm
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
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