nonlinear regression

Questions and discussions on Time Series Analysis
fan
Posts: 215
Joined: Wed Jun 19, 2013 5:14 pm

nonlinear regression

Unread post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: nonlinear regression

Unread post by TomDoan »

Assuming that you copied that straight out of your program, you're missing the space between eq1 and the =
fan
Posts: 215
Joined: Wed Jun 19, 2013 5:14 pm

Re: nonlinear regression

Unread post 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.
Post Reply