Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: pairwise unique combination


From   "Svend Juul" <[email protected]>
To   <[email protected]>
Subject   Re: st: pairwise unique combination
Date   Thu, 28 Jul 2005 12:06:04 +0200

Mashar wrote:

I am struggling to create unique pairwise
combinations. I want to have nC2 combination i.e. from
a n number of observations I want to have unique
pairs. Can anyone help?

With -findit pairs- I located:

FAQ     . . . . . . . . . . . . . . . Expanding datasets to all possible
pairs
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N.
J. Cox
        2/03    How do I produce a dataset based on all possible
                pairs of identifiers within each group?
                http://www.stata.com/support/faqs/data/pairs.html

Isn't that what you need?

Svend
__________________________________________

Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000  Aarhus C, Denmark
Phone: +45 8942 6090
Home:  +45 8693 7796
Email: [email protected]
__________________________________________ 

*
*   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/



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