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

st: RE: To: [email protected]


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: To: [email protected]
Date   Thu, 1 Dec 2005 13:08:33 -0000

Others had quite different guesses at what this 
meant. My guess is what you seek is -egen, seq()-. 

Nick 
[email protected] 

Yang Li
 
> Could anyone advice how to generate variable name with a incremental 
> counter in it.
> What I intend to do is:
> local i=0
> gen var'i'=a-b (suggestion required)
> i=i+1
> 

*
*   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