Re: [R] weights error in svyglm

2014-04-11 Thread Milan Bouchet-Valat
Le vendredi 11 avril 2014 à 15:54 +, Lee, Laura a écrit : > Thanks! That worked. However, what error distribution is assumed? I > was hoping to use a negative binomial. Since svyglm() computes designed-based standard errors, you should be able to simply pass family=poisson instead. See books.go

Re: [R] weights error in svyglm

2014-04-11 Thread Lee, Laura
Thanks! That worked. However, what error distribution is assumed? I was hoping to use a negative binomial. -Original Message- From: Milan Bouchet-Valat [mailto:nalimi...@club.fr] Sent: Friday, April 11, 2014 11:37 AM To: Lee, Laura Cc: r-help@r-project.org Subject: Re: [R] weights error

Re: [R] weights error in svyglm

2014-04-11 Thread Milan Bouchet-Valat
Le vendredi 11 avril 2014 à 13:38 +, Lee, Laura a écrit : > Hi! > > I am just learning the 'svyglm' package and have run into an error for > which I have not found a solution. My data have been collected from a > stratified random survey. Here is the code: > > NB3<-glm.nb(COLNUM~Year+Depth+ME