Statalist The Stata Listserver


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

st: Generate all combinations


From   "David Bruce Mcclintick" <mcclin47@msu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Generate all combinations
Date   Wed, 11 Oct 2006 14:24:36 -0400

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