Re: [R] Coding design with repeated measurements in the survey package

From: Thomas Lumley <>
Date: Fri, 29 Apr 2011 08:16:28 +1200

On Fri, Apr 29, 2011 at 3:23 AM, ONKELINX, Thierry <> 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 Lumley
Professor of Biostatistics
University of Auckland

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 28 Apr 2011 - 20:20:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Apr 2011 - 20:20:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive