search for: agegr5

Displaying 1 result from an estimated 1 matches for "agegr5".

Did you mean: agegrp
2013 Jan 03
1
Survey package help with svystandardize
...le.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=~agegr5, over=~sex, population=popage) ------------------------- SUDAAN code: PROC DESCRIPT DATA = "h:\\brfss_data\\brfss11\\pudf11\\txbrfss_pudf11" DESIGN = WR FILETYPE= SUDXPORT NOTSORTED; NEST S...