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

st: "dyadic" data

From   Anne-Célia Disdier <>
Subject   st: "dyadic" data
Date   Wed, 9 Feb 2005 14:06:30 +0100

Dear all,
I`ve the following "dyadic" dataset (where var1 and var2 are string variables):

var1   var2
a      b
b      a
a      c
c      a
b      c
c      b

In my case, ab and ba, ac and ca, bc and cb are the same observations. I just
want to keep one of the two observations (for example ab, bc, ac). How can ask
Stata to delete the second observation (ba, cb, ca)

Many thanks for your answer!

This message was sent using IMP, the Internet Messaging Program.

Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.

*   For searches and help try:

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