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
nonlinear regression
Re: nonlinear regression
Assuming that you copied that straight out of your program, you're missing the space between eq1 and the =
Re: nonlinear regression
Thank you for pointing out the problem.TomDoan wrote:Assuming that you copied that straight out of your program, you're missing the space between eq1 and the =