Statalist The Stata Listserver


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

st: RE: Generate all combinations


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Generate all combinations
Date   Wed, 11 Oct 2006 20:07:54 +0100

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 
n.j.cox@durham.ac.uk 

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index