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

st: Moving Medians


From   tchamour@copper.net
To   statalist@hsphsun2.harvard.edu
Subject   st: Moving Medians
Date   Mon, 3 May 2004 19:02:50 -00

I need to calculate the moving median from the previous 12 months for
each country in a panel.  Does anyone have any suggestions for an
elegant way to do that.  Is there a Stata 7 command which would let
me calculate the median across several variables (i.e median(v1 v2
v3) would be the row median of the values for v1 v2 and v3 in a given
row)?

Thanks
Yuriy



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index