Statalist


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

st: RE: Re: Matrix manipulation help


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: Matrix manipulation help
Date   Wed, 13 May 2009 19:11:08 +0100

Martin is too young, or too new to Stata, to remember the old -for-, but
it never had this syntax, or anything very much like it. The old -for-
in Stata was only like itself, and not like that in any other modern
language. 

Nick 
n.j.cox@durham.ac.uk 

Martin Weiss

This -for- loop you are using used to be popular, as I understand from
old 
SJ articles, but has since been superseded by -foreach- and -
forvalues-. 
See http://www.stata-journal.com/sjpdf.html?articlenum=pr0005

It lives on in -mata-, though, but you employ the old -matrix-
language...


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