Skip to content

survey package question

1 message · Sebastián Daza

#
Hello Thomas,

I use both svymean (with the expanded sample = people), and svyratio
(voting unit level), using the same design:

design <-svydesign(id=~station + unit, fpc=~probstation+probunits,
data=sample, pps="brewer")

I got different results using the same sample:

svyratio (voting unit)

                Ratio       2.5%      97.5%     Result
Cand1      0.05252871 0.04537301 0.05968441 0.05181146
Cand2    0.47226973 0.45215097 0.49238849 0.49041590
Cand3   0.47520156 0.45460831 0.49579482 0.45777264

svymean (expanded sample, individuals or votes)

               Mean          SE      2.5 %     97.5 %    Results
Cand1   0.0528433 0.004562755 0.04390047 0.06178614 0.05181146
Cand2 0.4717504 0.010201398 0.45175605 0.49174480 0.49041590
Cand3    0.4754063 0.010429222 0.45496538 0.49584718 0.45777264

Point estimators are different, and confidence intervals are more
narrow using svyratio.
Could you give me any clue about what is going on?

Thank you in advance.
Sebastian

On Thu, Oct 11, 2012 at 7:50 PM, Sebasti?n Daza
<sebastian.daza at gmail.com> wrote: