I have a model as follows:
d2 = d1 + exp(b0+b1/A1+b2RS1+b3B1+b4d1+b5CI)
I am trying to fit a nonlinear model to my dataset which has these variables. I am trying to use the following script:
mod <- nlsLM(formula = d2~d1+exp((1+b*1/A1)+c*RS1+d*B1+e*d1+f*CI),
data=d1_d2, start=list(b=0.01, c=0.07, d=0, e=0.8, f=0.01))
I dont know what i am doing wrong. But I am not getting the parameters estimates for (b0, b1, b2, b3, b4, b5) as the equation above. I would really appreciate the help.