Displaying 1 result from an estimated 1 matches for "llcpwt".
Did you mean:
alcpct
2013 Jan 03
1
Survey package help with svystandardize
...isk") ci_l
ci_u
Male Male 0.2277632725 0.2097154285 0.2468790907
Female Female 0.1486524831 0.1349832066 0.1634444481
-------------------------
R Code:
sample.brfss <- svydesign(id=~brfss.2011$SEQNO, strata=~brfss.2011$ststr,
weights=~brfss.2011$LLCPWT, data=brfss.2011, nest=T)
popage <- c(0.128810, 0.182648, 0.219077, 0.299194, 0.170271)
options("survey.lonely.psu"="adjust")
testing_dataset <- subset(sample.brfss, (!is.na(agegr5) & !is.na(sex) & !
is.na(rfsmok)))
stdes<-svystandardize(testing_dataset, by=~age...