| From | "Nick Cox" <[email protected]> |
| To | <[email protected]> |
| Subject | st: RE: RE: RE: referencing variables -- no2 |
| Date | Thu, 9 Jan 2003 18:42:18 -0000 |
Daniel M�ller
>
> Sorry, me again. There's another, quicker way, which I've
> missed (see [P]
> foreach).
>
> foreach m in numlist 2 3 6 8 {
> gen y = x`m' + 1
> }
>
Mails overlapping here.
Same problem as before. Please see my earlier posting.
Nick
[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/
| © Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |