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

st: setting a counter


From   Rajiv Sinha <rajiv.sinha@asu.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: setting a counter
Date   Wed, 14 May 2003 22:42:05 -0700

Title: Blank
I have T months of data for N firms  such that there are T rows for each of the N firms.  How do I set up a simple counter in Stata to reflect time and  that varies from 1 to 12 and repeats itself for each of the N records? Thanks!
 

 




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