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" <[email protected]>
To   [email protected]
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
r(101);


Best,

Ada
*
*   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/



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