Thank you, Nick, for your quick feedback.
I have no idea how to use its results in my program using the example
mentioned in the help file. I would like to get the results in a .dta
file, since, among all possible n-tuples, I need to select those I am
interested in.
So, It is possible that -selectvars- is not exactly what I am looking for.
Tiago
*
*   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/