Statalist The Stata Listserver

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

st: RE: Generate all combinations

From   "Nick Cox" <>
To   <>
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. 


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:

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