TAR-MTAR - Singular Matrix
Posted: 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!
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!