Skip to content

Complex sampling survey _ Use of survey package

1 message · Ahoussou Sylvie

#
Hi Tobias,

Thanks for your  answer but it doesn't change the error message

 clustot <- svydesign(id=~num+Id_An, fpc=~fpc1+Totanim, data=tab1)

Erreur dans as.fpc(fpc, strata, ids) :
  FPC implies >100% sampling in some strata

Maybe the probleme is that in some farms all the animals were examined (100% 
sampling) which is the case in my study sometimes


--------------------------------------------------
From: "Tobias Verbeke" <tobias.verbeke at gmail.com>
Sent: Friday, September 12, 2008 10:25 AM
To: "Ahoussou Sylvie" <sylvie.ahoussou at antilles.inra.fr>
Subject: Re: [R] Fw:  Complex sampling survey _ Use of survey package