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

st: survey median estimator

From   <>
Subject   st: survey median estimator
Date   Fri, 15 Nov 2002 20:24:38 EST

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?

*   For searches and help try:

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