Displaying 1 result from an estimated 1 matches for "strataone".
Did you mean:
stratanet
2010 Jul 27
0
Multiple Strata Sampling in R Survey
...et 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 survey, and b) how?...