Nick (3...the others being Winter and Cox, may there there are others as
well)
Take a look egenodd at STB-57 dm70.1 you will find egenodd and one of
the extensions is
rmed(varlist) returns the median across variables for each
observation. (The number of variables must not exceed the number
of
observations.)
Ronnie
>>> [email protected] 02.12.2004 12:35:40 >>>
I need to calculate a median across rows of data. Is there an
equivalent to
rmean that would do this? I had considered transposing the data and
using
tabstat but the data structure makes this rather messy. My Stata
programming
skills are poor.
Many thanks,
Nick
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
*
* 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/