Displaying 1 result from an estimated 1 matches for "wanted_residual".
2013 Feb 19
3
R nls results different from those of Excel ??
Hi all
I have a set of data whose scatter plot shows a very nice power
relationship. My problem is when I fit a Power Trend Line in an Excel
spreadsheet, I get the model y= 44.23x^2.06 with an R square value of 0.72.
Now, if I input the same data into R and use
model< -nls(y~ a*x^b , trace=TRUE, data= my_data, start = c(a=40, b=2)) I
get a solution with a = 246.29 and b = 1.51. I have tried