[R] Coding design with repeated measurements in the survey package
tlumley at uw.edu
Thu Apr 28 22:16:28 CEST 2011
On Fri, Apr 29, 2011 at 3:23 AM, ONKELINX, Thierry
<Thierry.ONKELINX at 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.
Professor of Biostatistics
University of Auckland
More information about the R-help