From: <v.schlecht_at_arcor.de>

Date: Sun 23 Oct 2005 - 23:19:33 EST

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 Sun Oct 23 23:32:19 2005

Date: Sun 23 Oct 2005 - 23:19:33 EST

Hallo all,

I have a question concerning the weights used in the glm function.

I need to build a linear model (family=gaussian) with only one regressor. Sadly I have only 6 different sets:

y_i=alpha+beta*x_i , i=1,2,3,4,5.

i=1,2,3,4,5 has been observed 60 times, while i=6 has only been observed 30 times. This is why I wanted to use a weighted least squares approach instead of least squares.

I used the weight w1<-c(1,1,1,1,1,0.5).

Can anybody tell me if this is correct?

**THX.
**
Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1

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 Sun Oct 23 23:32:19 2005

*
This archive was generated by hypermail 2.1.8
: Mon 24 Oct 2005 - 06:20:49 EST
*