Page 1 of 1

nonlinear regression

Posted: Thu Jan 23, 2014 10:49 am
by fan
Hi all,

I am trying to run a nonlinear regrssion. The followings are my codes.

nonlin beta0 beta1 beta2 beta3 beta4 beta5
frml eq1=beta0+beta1*evwrd+beta2*default+beta3*dyield+beta4*term+(beta1*beta3)*dyield{1}+(beta1*beta4)term{1}+beta5*year34{-1}+(beta1*beta5)*year34
nlls(frml=eq1,trace) evwrd{-1}

I got a error message that says "## SX22. Expected Type FRML[ANY], Got RECTANGULAR[REAL] Instead
>>>>eta1*beta3)*dyield{<<<<"

I am not sure why I am getting the error message as I used same codes yesterday and they worked. Could someone please let me know what went wrong here? Thanks

Re: nonlinear regression

Posted: Thu Jan 23, 2014 11:20 am
by TomDoan
Assuming that you copied that straight out of your program, you're missing the space between eq1 and the =

Re: nonlinear regression

Posted: Thu Jan 23, 2014 7:52 pm
by fan
TomDoan wrote:Assuming that you copied that straight out of your program, you're missing the space between eq1 and the =
Thank you for pointing out the problem.