Recently Roger adviced us on how to get a scalar value of the column sum
by
summ x
scal sidney=r(sum)
Works OK, for the most of the statistics, but I need the mode. After
short look on manuals, no funtion returns r(mode). Currently I'm using
egen and picking an observation from the created variable, but there
must be an easy way.
--
Tarmo R�ty
VATT (Government Institute for Economic Research)
FINLAND
Email [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/