Yanjun Bao
> We have say 200 survey sites, within each site we have several
> communitites and each has a key informant. Say that every informant
> answers question A. According to the size of communities,
> we have created
> weights for each key informant relative to the site. We
> want to calculate
> the weighted average of the responses from the informant
> using the weights
> for each site. Any help will be greatly appreciated.
There's an FAQ which may help:
I want to calculate a variable containing weighted group
summary statistics, but I do not want to collapse the data
and egen does not support weights. How can I do this?
http://www.stata.com/support/faqs/data/weighted.html
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/