Displaying 3 results from an estimated 3 matches for "fm3dnase1".
Did you mean:
fm1dnase1
2000 Oct 14
2
Access to calculations in nls
Hi,
I would like to be able to access the calculated results from the nls package.
Using the example in R, fm3DNase1 we can reurn certain parts of the
calculations:
> coef(fm3DNase1)
Asym xmid scal
2.345179 1.483089 1.041454
> resid(fm3DNase1)
[1] -0.0136806237 -0.0126806237 0.0089488569 0.0119488569 -0.0025803222
[6] 0.0064196778 0.0026723396 -0.0003276604 -0.0187778127 -0.0237778127...
2004 Dec 09
1
Results of nls
This might be an easy question.
I tried to catch the results of nls, but to no avail.
For example, if I try to fit a modle y~A*x*x+B*x+C
nls will print out what A, B, and C, but how can I
store these numbers to a different variable so that I
can make use of them? I tried to "unclass" the result
of nls, but couldn't see any of the parameters.
Y C Tao
2007 Jun 07
2
Nonlinear Regression
Hello
I followed the example in page 59, chapter 11 of the 'Introduction to R'
manual. I entered my own x,y data. I used the least squares. My function has
5 parameters: p[1], p[2], p[3], p[4], p[5]. I plotted the x-y data. Then I
used lines(spline(xfit,yfit)) to overlay best curves on the data while
changing the parameters. My question is how do I calculate the residual sum
of squares.