Skip to content
Prev 171476 / 398502 Next

An error in fitting a non linear regression

Hi,

Thank you for the reply and suggestions.

I have two questions?
1) If I want to use log, it seems that I have to take log from both sides of
the model which will lead to lm(log(q)~log(-depth)). What is tehdifference
between this syntax and lm(log(q) ~ I(-depth))?

2) How can I calculate the R-squared of a fitted non linear model?

Regards
Saeed
Christian Ritz-3 wrote: