Hello,
I am relatively new to stata, but I have encountered a problem of not being able to find duplicates across variables. I have a table like this:
id Start Destination
1 China US
2 US Japan
3 US China
4 Italy Spain
and I would like to find a list of all the observations that have another's start as destination and destination as start. I would like a result like this:
1 China US
3 US China
Thanks a ton to anyone that would help! I'd really appreciate it : )
Related Posts with How to find duplicate across variables
Tabout Error - Conformability r(3200) Hello I am using running a series of crosstab tables using the following tabout command: Code: t…
Can I select Fixed-effects model?Dear, First of all, I really thank you everyone here sparing their efforts to help the person like …
Calculating effect sizes after MI and mixedHello All, I hope this message finds you well! After running the following code is there a way to …
Help/advice on importing large number of text files into StataDear all, I have a collection of around 2,400 PDFs of parliamentary debate transcriptions that I wo…
Help needed to adjust the outcome of bysort commandDear Stata community members, I have created a count variable k and p based on the following syntax…
Subscribe to:
Post Comments (Atom)
0 Response to How to find duplicate across variables
Post a Comment