Carole Wilson asked a loosely similar question on 22 Sept
and she was answered by Jesper K. Hansen on 23 Sept. 
Alternatively, a hack at my program -selectvars-
from SSC may help. 
Nick 
[email protected] 
David Bruce Mcclintick
 
> I have data in a single list, all unique observations with 
> numerical values. 
> What I want is a way to return all possible 5 term 
> combination sums from 
> this list. Additionally, I need to accomplish this in 
> multiple instances 
> with other lists of varying size, but still retaining the 5 
> term combination 
> rule. How can I return these results, and do so in a viewable form?
*
*   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/