Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Comparing medians with pweight

From   "Stas Kolenikov" <>
Subject   Re: st: RE: Comparing medians with pweight
Date   Thu, 22 Mar 2007 09:43:00 -0500

The issue might be quite tricky: median is not a smooth function of
the data, so many inference methods generally taken for granted do not
apply to it. Asymptotic normality of the median is derived in a rather
non-standard way and requires regularity conditions that are pretty
difficult to verify. If you are dealing with survey data, neither
linearization nor the jackknife will produce appropriate (consistent)
standard errors for the population quantiles, and one has to use the
balanced repeated replication or the even more complicated survey
bootstrap both of which require the data provider's replication
weights -- it is not at all that trivial to run those procedures on
the analyst's side without getting one's feet really, really wet.

See if you can find it.

On 3/22/07, Ada C. Chen <> wrote:
> Is it possible to compare medians of a continuous variable between two
> groups by using -pweight- instead of -fweight-? Does stata only allow
> for fweight?
Stas Kolenikov
*   For searches and help try:

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