Displaying 1 result from an estimated 1 matches for "probunit".
2012 Oct 11
2
survey package question
...e.g.
candidate 1= 2132 / 10874= .1906
candidate 2= 5323 / 10874= .4895
candidate 3= 3419 / 10874= .3144
In this case, the unit of analysis is voters (or votes).
If I specify the sampling design using the survey package in this way...
design <-svydesign(id=~station + unit fpc=~probstation +probunit,
data=sample, pps="brewer")
svyciprop(~I(candidate1/totalVotes), design)
... I am assuming that the unit of analysis is the voting unit, right?
and I am estimating an average among voting units?
I should expand my database at individual level (voters), or I just
have to include a unit...