search for: des4

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

Did you mean: des
2005 May 26
1
Survey and Stratification
...## gives mean 25.568, SE 0.9257 age.des2<-svydesign(ids=~id, strata=~stratum, weight=~I(nh/Nh), data=age) svymean(~y, age.des2) ## gives mean 25.483, SE 0.9227 age.des3<-svydesign(ids=~id, strata=~stratum, weight=~weight, data=age) svymean(~y, age.des3) ## gives mean 26.296, SE 0.9862 age.des4<-svydesign(ids=~id, strata=~stratum, data=age) svymean(~y, age.des4) ## gives mean 25.875, SE 0.9437 age.des3 is the only estimator I am able to compute per hand correctly. It is stratified random sampling with inverse probablility weighting with weight= nh/Nh ## sample size/ stratum size. B...