Statalist The Stata Listserver

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

st: procedure on combination of variables

From   "Daniel Caro" <>
Subject   st: procedure on combination of variables
Date   Fri, 9 Feb 2007 14:47:46 +0100 (CET)

Dear all,

Id 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?

Thanks in advance,

*   For searches and help try:

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