Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to create an automatic numbering within stata


From   amatoallah ouchen <at.ouchen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to create an automatic numbering within stata
Date   Thu, 8 Oct 2009 20:52:26 +0200

Good Day stata-listers

I was wondering if you could help me figure something out related to
the creating of  an automatic  numbering within stata.
in fact, my data set are sorted by ticker and by date, I need to
create a column that contains the numbering of the observations
(1,2....,N) within each ticker.
Any suggestions would be highly appreciated!!!

Thanks a lot in advance.
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index