Re: [R] Weighted nls

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 12 Jul 2005 - 03:52:14 EST

"Rundle, Daniel" <stdmr03@moravian.edu> writes:

> Dear R Community,
>
> I am attempting to perform a weighted non-linear least squares fit.
> It has already been noted that the weights option is not yet
> implemented for the nls function, but no one seems to offer any
> suggestions for getting around this problem. I am still curious if
> a) anyone has code they have written which includes a weight options
> for nls, or b) if there is another model which would allow least
> squares fitting to a non-linear function.
>

gnls in the nlme package. Or follow the example on help(nls) immediately after the

## weighted nonlinear regression

(!)

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jul 12 03:57:17 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:30 EST