Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Help: weight average

From   "Nick Cox" <>
To   <>
Subject   st: RE: Help: weight average
Date   Fri, 1 Aug 2003 18:07:04 +0100

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?


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index