TAR-MTAR - Singular Matrix

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

eficefic
Posts: 3
Joined: Fri May 09, 2014 1:05 pm

TAR-MTAR - Singular Matrix

Postby eficefic » Fri May 09, 2014 1:13 pm

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!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: TAR-MTAR - Singular Matrix

Postby EViews Gareth » Fri May 09, 2014 1:24 pm

Does I_tar have variance?

eficefic
Posts: 3
Joined: Fri May 09, 2014 1:05 pm

Re: TAR-MTAR - Singular Matrix

Postby eficefic » Fri May 09, 2014 1:38 pm

I_tar is a dummy = 1 when y(-1)>=0, and 0 when y(-1)<0

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: TAR-MTAR - Singular Matrix

Postby EViews Gareth » Fri May 09, 2014 1:40 pm

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?

eficefic
Posts: 3
Joined: Fri May 09, 2014 1:05 pm

Re: TAR-MTAR - Singular Matrix

Postby eficefic » Fri May 09, 2014 1:42 pm

Nope. It is always 1

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: TAR-MTAR - Singular Matrix

Postby EViews Gareth » Fri May 09, 2014 1:54 pm

Then (1-I_tar)*y1 is perfectly correlated with the constant.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests