--- On Wed, 25/11/09, CarlosAlencar wrote:
> how coould i compare two medians? what command should
> i use?
Sounds like -qreg-. In the example below the median price
of domestic cars is 4816 and the price of foreign cars is
983 dollars higher, and this difference is significant.
*----- begin example -----
sysuse auto, clear
qreg price foreign
*------ end example -------
( For more on how to use examples I sent to statalist see:
http://www.maartenbuis.nl/stata/exampleFAQ.html )
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/