Bookmark and Share

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: nested loops with varying degrees of nesting


From   Phil Schumm <[email protected]>
To   <[email protected]>
Subject   Re: st: nested loops with varying degrees of nesting
Date   Tue, 1 Oct 2013 17:23:37 -0500

On Oct 1, 2013, at 5:04 PM, David Kantor <[email protected]> wrote:
> I would like to write a program that involves nested loops, where the degree of nesting is flexible.


This type of problem is typically solved with recursion.  If you can provide a bit more detail about what you're trying to do, someone can probably provide you with some pseudocode, if necessary.


-- Phil


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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index