I would like to impute data for a complex survey design. I have replicate weights (about 50) and a sampling weight. Although I found an example of how to do imputations in R (see below), it has a place for sampling weight (
impdata <- imputationList(c("set1","set2","set3","set4","set5"),
designs <- svydesign(id=~SDPPSU6, strat=~SDPSTRA6,
weight=~WTPFQX6, data=impdata, nest=TRUE)
you need to use
svydesign for replication-backed designs, and you no longer need to specify the
strat= parameters, since that information should be contained in the replication weights. the two closest examples to multiply-imputed nhanes on asdfree.com should be
svrepdesign has a bunch of other parameters that you need to confirm you are using correctly by matching some cdc-published statistic. good luck!