Displaying 1 result from an estimated 1 matches for "nps_univ".
Did you mean:
npc_univ
2008 Oct 22
1
Package survey
...) I have many non responses
but if I maintain the NA it doesn’t work.
summary(base_nps$p_igov)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
1.0 9.0 51.0 208.7 185.0 19470.0 1687.0
desenho_nps <-
svydesign(id=~npc,strata=~estr_final,weights=~pond_nps,fpc=~nps_univ,nes
t=T,data=base_nps)
svyby(~p_igov,~div_a,desenho_nps,svytotal,drop.empty.groups=TRUE,vartype
=c("se","var","cvpct"))
Error in if (any(coef(object) < 0)) warning("CV may not be useful for
negative statistics") :
missing value where TRUE/FALSE neede...