Good afternoon!
I'm trying to use the Survey package for a stratified sample which has 4
criteria on which the stratification is based. I would like to get the
corrected weights and for every element i get a weight of 1
E.g: tipping
design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh +
size_hh, data= tabel)
and then weights(design)
gives me: 1,1,1,1,1,1,1,1,1,1,1,........... for each element
Why is that? What do i do wrong?
Thank you!
---------------------------------
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.