Re: [Rd] nobs.glm

2012-04-25 Thread Wincent
Thanks, Professor Ripley. It helps a lot. As a follow-up question, is there any recommended references I can look into to figure out the interpretation of "weights" for various families? Thanks very much in advance Best regards Ronggui On 24 April 2012 21:56, Prof Brian Ripley wrote: > On 24/0

Re: [Rd] nobs.glm

2012-04-24 Thread Prof Brian Ripley
On 24/04/2012 14:36, Wincent wrote: Hi all, The nobs method of (MASS:::polr class) takes into account of weight, but nobs method of glm does not. I wonder what is the rationale of such design behind nobs.glm. Thanks in advance. Best Regards. library(MASS) house.plr<- polr(Sat ~ Infl + Type +

[Rd] nobs.glm

2012-04-24 Thread Wincent
Hi all, The nobs method of (MASS:::polr class) takes into account of weight, but nobs method of glm does not. I wonder what is the rationale of such design behind nobs.glm. Thanks in advance. Best Regards. > library(MASS) > house.plr <- polr(Sat ~ Infl + Type + Cont, weights = Freq, data = housi