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

Re: st: testing the equality of medians

From   Ronan Conroy <>
To   "statalist" <>
Subject   Re: st: testing the equality of medians
Date   Mon, 3 Nov 2003 10:27:00 -0000

on 31/10/2003 16:54, Shahbaz Ali Sheikh at wrote:


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

This approach has the advantage that you may want to adjust the comparison
for confounding or biasing variables.

Ronan M Conroy (
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:

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