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
Training Course in Data Management and Analysis with STATACourse Title: Quantitative Data Management and Analysis with STATA Course Click to view course con…
Find min/max*length of variableDearest StataList I have had a problem when trying to find the maximum and minimum length of every …
Oneway plot colors and value calloutHi everyone, I am trying to create a simple oneway plot with distribution of values for different i…
Mixlogit - Share of preferences / market sharesDear Statalist; I am trying to learn the mixed logit model. To do so, I am trying to replicate the …
preparing longitudinal survey data for survival analysisHello anyone I am using stata for social science research. I want to conduct survival analysis for…
Subscribe to:
Post Comments (Atom)
0 Response to How to find duplicate across variables
Post a Comment