on 31/10/2003 16:54, Shahbaz Ali Sheikh at [email protected] wrote:
Hi,
I need to test the equality of medians, how can I do that. I know ttest does
that for means only.
A t-test is just a regression where the only predictor is binary. Stata's
quantile regression allows you to use a binary predictor to model the
median.
This approach has the advantage that you may want to adjust the comparison
for confounding or biasing variables.
Ronan M Conroy ([email protected])
Lecturer in Biostatistics
Royal College of Surgeons
Dublin 2, Ireland
+353 1 402 2431 (fax 2764)
--------------------
Bombing our way to a perfect world...
*
* 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/