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

st: RE: Moving Medians


From   "de la Garza, Adrian" <[email protected]>
To   <[email protected]>
Subject   st: RE: Moving Medians
Date   Mon, 3 May 2004 15:16:30 -0400

Yuriy,

You can check Nick Cox's and Chris Baum's -mvsumm- command. The 50th
percentile option gives you the moving median you want. Just type -help
mvsumm- or -findit mvsumm- to get to the link to install it.

Best,
Adrian

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Monday, May 03, 2004 3:03 PM
> To: [email protected]
> Subject: st: Moving Medians
> 
> 
> 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/
> 

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