Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: powerset of a list


From   "Carole J. Wilson" <[email protected]>
To   [email protected]
Subject   st: powerset of a list
Date   Sat, 23 Sep 2006 14:47:40 -0500

Thank you Jesper.    The .ado file is nicely written and well
commented. This will be very helpful.
Best, Carole

On 9/23/06, Jesper Kj�r Hansen <[email protected]> wrote:
Maybe you can adapt the program _ffdtcomb, which I made a while
ago, for your needs?

 type http://www.nat.sdu.dk/users/nat-sdu/jkha01/ffdt/_ffdtcomb.ado

It takes a string of elements, e.g. a varlist, and returns all
possible combinations of the elements. The combinations are returned
in r().
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index