Statalist The Stata Listserver

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

st: Comparing medians with pweight

From   "Ada C. Chen" <>
Subject   st: Comparing medians with pweight
Date   Wed, 7 Mar 2007 12:49:08 -0500

Dear all,

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?

Here is my code and result:
. median income [pweight=wt1], by(priv)
pweight not allowed


*   For searches and help try:

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