Displaying 1 result from an estimated 1 matches for "pamplitud".
Did you mean:
amplitud
2010 Aug 13
2
Unable to retrieve residual sum of squares from nls output
Colleagues,
I am using "nls" successfully (2.11.1, OS X) but I am having difficulties retrieving part of the output - residual sum of squares. I have assigned the output to FIT:
> > FIT
> Nonlinear regression model
> model: NEWY ~ PMESOR + PAMPLITUDE * cos(2 * pi * (NEWX - POFFSET)/PERIOD)
> data: parent.frame()
> PMESOR PAMPLITUDE POFFSET
> 1153.02 -1183.09 24.58
> residual sum-of-squares: 1815056
>
> Number of iterations to convergence: 8
> Achieved convergence tolerance: 1.643e-08
As you ca...