The broad topic is often discussed on this list. Type
. findit tuples
and then search the archives for threads mentioning
-selectvars- and -tuples- (and that also mention
other solutions).
Nick
[email protected]
Daniel Caro
> I'd like to perform a procedure on all the possible combinations of c
> variables from my varlist. For example, if the procedure is
> pca, c=2 and
> varlist=wealth books poss:
>
> pca wealth books
> pca wealth poss
> pca books poss
>
> The combination problem gets more complex with other cs and
> varlists. Is
> there a command to do this in Stata?
*
* 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/