--- Nikolaos Pandis wrote
> I a continuous variable (age) with a range from 15-86 and around 1500
> observations. How could I convert it into an ordinal variable with equal
> number of observations per group, given that I would like to have around
> 15 groups.
egen catage = cut(age), group(15)
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/