search for: strat2

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

Did you mean: strata
2006 Aug 21
1
"vcov" error in svyby and svytable functions
Hi, I'm trying to compute survey svytable statistic on subsets by using the svyby function. Here is the code: b<-svyby(~V024+V751, by=~V025, design=strat2, svytable, round=TRUE) The vars, V024, V751 and V025 are factors. The by var has 2 levels, and hence there will be two subsets. strat2 is created by the svydesign function. It's giving me the following error: > b<-svyby(~V024+V751, by=~V025, design=strat2, svytable, round=TRUE) Error i...