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

st: RE: computing quantiles accross observations


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: computing quantiles accross observations
Date   Tue, 13 Sep 2005 18:18:38 +0100

Not so far as I know. The best strategy here
is probably to -reshape- from wide to long, use an 
appropriate command and then -reshape- back. 
There is an example in 

http://www.stata.com/support/faqs/data/reshape3.html

Nick 
n.j.cox@durham.ac.uk 

Jonas Dovern

> is there a command to perform the computation of quantiles accross 
> observations rather than "vertically" accross the elements of 
> only one 
> variable? (I look for something like egen var_new = rmean(varlist1).)

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