search for: size_loc

Displaying 2 results from an estimated 2 matches for "size_loc".

Did you mean: size_log
2007 Sep 06
1
the survey package
...been stratified using 2 criteria: region(7 values), size of locality(5 values) Using the survey pakage how can i define in a correct way this design (taking into account all 4 strata not just one as in the Survey example) i have tried design<- svydesign(ids=~0, strata= c(~regiune,~size_loc), data=tabel) # for 2 criteria and got this error Error in strata[, 1] : incorrect number of dimensions My "tabel" looks like this: cod cantitate pondere regiune size_loc size_hh age_hhh 740 5977.604 0.99626...
2007 Sep 06
3
Survey package
...ternoon! 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]]