-cross- may be helpful, see -help cross-.
-- Maarten
--- "Vladimir V. Dashkeyev" <[email protected]> wrote:
> Dear Statalist Users,
>
> I've got N countries (id1) and need to create id2 which contains N-1
> countries (country i omitted) for each country in id1. That is, if I
> have country A, B, and C, I want STATA to create AB, AC, BA, BC, CA,
> CB pairs, where the first letter corresponds to id1 and the second to
> id2. So far I've been doing it with STATA --reshape-- command. Can it
> be done with STATA programming (without using --reshape--)?
>
> Any advice would be appreciated.
>
> Thank you in advance,
> Vladimir Dashkeyev
> *
> * 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/
>
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
*
* 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/