Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Loop question


From   K Jensen <k.x.jensen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Loop question
Date   Fri, 9 Dec 2011 11:03:26 +0000

What is the easiest way of looping through one isolated value and a
more conventional loop over a different range?

Basically, I would like to do something like forvalues i=0 AND
0.6(0.1)1.1 except that this syntax doesn't exist.  I.e. I would like
i to take the values 0, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1

Thankyou

Karin
*
*   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   |   Site index