Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: loop
From
- <[email protected]>
To
[email protected]
Subject
Re: st: loop
Date
Mon, 15 Oct 2012 10:36:14 +0100
hello and thank you,
I did use stata help and tried forvalues many times before posting on
here, but for some reason I can't get it to work, so there must be
something in my code. I will post the code on here tomorrow and see if
anyone can spot what I'm doing wrong.
On 13 October 2012 09:59, Justina Fischer <[email protected]> wrote:
> Hi Dimpol,
>
> Muhammad is right, this is in principle quite easy, and you could have found this out with the sources available to you, e.g. by googling 'stata' and 'loop'.
>
> Sometimes people on this list do not answer because they think you can find out yourself.
>
> The typical example is:
>
> forvalues i = 1/10 {
>
> display " `i' "
>
> }
>
>
> In place of 'display', you can also run a regression or make a graph.
>
> HTH
>
> Justina
>
>
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/