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
Margins (and marginsplot) do not produce a result after cmclogitDear all, I am running the following cmclogit (conditional logit / McFadden logit) model (and other…
Help with subinstrHi, I need help removing " ' " from some observations from one variable 'ccccccc 'errrrrrrr 'rtrtrt…
Labelling studies in metaprop_oneHello, I'm a long time reader of these forums but first time poster! Please forgive me for any mist…
xtabond2 help and adviceHello I have a panel data with firm-year data. number of firms approx 1000 and number of years 10 I…
Tabulate by year based on start-/end datesDear Statalist, I have a dataset that consists of observations of people who are/were part of the b…
Subscribe to:
Post Comments (Atom)
0 Response to How to find duplicate across variables
Post a Comment