Dear All,
I am trying to estimate median of subpopulations using survey data. My
question is how to account for the survey weight in estimating
median.Specifically, I am using the following command
egen median=median(edpct) if salquart==3, by(type).
How can I incorparate the survey wieghts in using egen(median) funtion to
calculate median in above command?
Thanks.
Ali
*
* 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/