Re: [R] Using R to fit a curve to a dataset using a specific equation

2015-08-03 Thread David L Carlson
AM To: David L Carlson Cc: r-help Subject: Aw: RE: RE: [R] Using R to fit a curve to a dataset using a specific equation Hi David, thank you for your help. It makes sense to me that the R2 is very misleading in an non-linear regression. the same is true for the p-values. My question then is: how

Re: [R] Using R to fit a curve to a dataset using a specific equation

2015-08-03 Thread David L Carlson
Subject: Aw: RE: [R] Using R to fit a curve to a dataset using a specific equation Hello and thank you very much for your help! I just started to read up on non-linear least squares in The RBook. (I am totally new to the topic so i dindt even know where to look in the book ). I have three la

Re: [R] Using R to fit a curve to a dataset using a specific equation

2015-08-01 Thread David L Carlson
I can get you started, but you should really read up on non-linear least squares. Calling your data frame dta (since data is a function): plot(Gossypol~Damage_cm, dta) # Looking at the plot, 0 is a plausible estimate for y0: # a+y0 is the asymptote, so estimate about 4000; # b is between 0 and 1,