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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._