[R] weighted nonlinear least squares wtih gnls
Peter Schlattmann
peter.schlattmann at medizin.fu-berlin.de
Wed Oct 23 14:43:09 CEST 2002
Dear all,
I try to perform weighted linear least squares wtih using glns.
The weights are something like
ww<-rep(c((0.1,0.9),n))
my dataframe is named test and I add ww to test by test$ww
Now using
vf1<-varFixed(~ww)
vf1<-Initialize(test,vf1)
does not produce any usable weights. Does anyone have a
working exampel for this kind of problem?
Thans a lot for oyur help
Peter
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list