Page 1 of 1

TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:13 pm
by eficefic
Im trying to run the following regression but a "near singular matrix" message keeps popping up. I'ld appreciate any suggestion or input to solve this issue:

y2 = y2(-1) + error_whitenoise1
y1 = y2(-1)
I_tar = (y1 >= 0)

freeze(yuroot) eq01.ls d(y2) I_tar*y1 (1-I_tar)*y1 c


*This is meant to create a data generating process with the following structure:

d(y)=rho1*y(-1)*dummy+rho2*y(-1)*(1-dummy)+error, where dummy is "I_tar" for the TAR model.

Thanks in advance!

Re: TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:24 pm
by EViews Gareth
Does I_tar have variance?

Re: TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:38 pm
by eficefic
I_tar is a dummy = 1 when y(-1)>=0, and 0 when y(-1)<0

Re: TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:40 pm
by EViews Gareth
Sure, but does it actually have variance? I mean is it the case that, in your estimation sample, it only has 0s or only has 1s?

Re: TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:42 pm
by eficefic
Nope. It is always 1

Re: TAR-MTAR - Singular Matrix

Posted: Fri May 09, 2014 1:54 pm
by EViews Gareth
Then (1-I_tar)*y1 is perfectly correlated with the constant.