Displaying 1 result from an estimated 1 matches for "estid".
Did you mean:
essid
2010 Jul 27
0
Multiple Strata Sampling in R Survey
...tes for a dataset I have. The data has 2 strata,
weights, and cluster IDs. However, I can't find a way to use multiple
strata in the svydesign function. Currently, I'm ditching the weights
and using the second strata as a weighting mechanism (outlined below).
surveyDesign<-svydesign(id=~EstID, strata=~strataOne,
weights=~strataTwoMod, data=regressionData, nest=T)
But that really doesn't meet the needs of this project. I've also
tried it with strata=(~strataOne + strataTwo), but that didn't work
either. Does anyone know if its a) possible to do mutiple strata
sampling in R s...