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

st: RE: mode of vars in a row


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: mode of vars in a row
Date   Mon, 23 Jun 2003 13:28:46 +0100

Nesim Sisa asked about modes. 
Apologies for previous premature reply. 

>  I need something
> to look for modes across a row (variables w/in an
> observation).

I would -reshape-, get the modes, and -reshape- back. 
There is an analogous problem (for medians) within 

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

>  Also when I use mode, if there is more than one mode, 
> Stata does not by
> default report all the modes.

Precisely what 

* command are you using here? 

* is your definition of a mode? 

Nick 
[email protected] 
*
*   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