Does anybody know of a package that generates permutations and
combinations? That is, the actual ordered/unordered sets of combinations
or permutations of elements from a set.
I wrote a little package that does this for the set {1,2,...,n} a few
months ago, and just want to check that there isn't already something
equivalent out there.
Also, does anybody have a wishlist of combinatoric operations that they
would like to see in Stata, other than for the generation of the above
sequences?