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
stcurve showing wrong timeHi Statalist, I am running a survival analysis to find the difference in an event between 4 differe…
How to rank and form portfolioHi. I need help to form rank and portfolio by following the procedure below (step 1 to 3). The code …
How to divide column totals with an output that includes 95%CIDear all, I have a dataset with two continuous variables. I had calculated the total of each column …
performing xtgcause when my data are not cointegratedDear all, I'm currently working on my thesis about the relationship between financial development, t…
stcurve showing wrong analysis (follow-up) timeHi Statalist, I am running a survival analysis to find the difference in occurence of an event betw…
Subscribe to:
Post Comments (Atom)
0 Response to How to find duplicate across variables
Post a Comment