Hello!
I am trying to create a cross-tabulation that would result in a 4 x 10 table of a complex survey. I was able to create a survey design object and subset to the population that I am interested in. However, when creating a cross-tabulation to get an descriptive proportion table, it resulted in the exact same frequency and percentage for each of the category. I am not sure if this is because of missing data or something else.
The code I used looks like this (for only two variables)
tabmulti.svy(EduCat ~BirthsCat, design = FinalSample, listwise.deletion = TRUE) %>% kable()
which gave a result that looks like this
Variable 1 2 3 4 5 P
EduCat, % (SE) <0.001
1 302.6 (9.3) 286.5 (10.0) 285.2 (8.8) 261.0 (7.2) 225.2 (5.8)
2 302.6 (9.3) 286.5 (10.0) 285.2 (8.8) 261.0 (7.2) 225.2 (5.8)
3 302.6 (9.3) 286.5 (10.0) 285.2 (8.8) 261.0 (7.2) 225.2 (5.8)
4 302.6 (9.3) 286.5 (10.0) 285.2 (8.8) 261.0 (7.2) 225.2 (5.8)
Help would be greatly appreciated,
xbechtel