[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: summing across bins
Hi,
I just downloaded the ado file binsm, which allows you to graph mean
values (or other values) of yvar on bins of xvar. But, I need to use
weights. Does anyone have another way to do this that allow weights? the
binsm command does not.
Alternatively, does anyone know how to create a variable with weighted
means across various groups. the command
egen newvar=mean(oldvar), by(group)
does not allow weights.
Thank you very much for your help,
Lenna Nepomnyaschy
*
* 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/