On Fri, Apr 29, 2011 at 3:23 AM, ONKELINX, Thierry <thierry.onkel...@inbo.be> wrote: > Dear all, > > I'm working on a design with rotating panels. Each site is sampled every X > year. Have a look at the code below the get an idea of the design. In reality > the number of sites will be (much) higher. > > However I'm not sure if I coded the design correctly in svydesign(). Can > someone confirm that it is either correct or wrong? I've added the lmer() > equivalent that I want to replicate with svyglm(). Since the number of sites > in the population is limited, I'll need to use the finite population > correction.
Yes, that's right. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.