Hi,
I am trying to remove "duplicate permutations". For instance:
ID source target
1 A B
2 A C
3 B C
4 B A
5 C B
Here, I would like to remove lines 4 and 5, because they are duplicates of lines 1 and 3. Any suggestion on how to do that?
Related Posts with Removing duplicate permutations
Adding group name to categorical variables in esttab commandHi, I am trying to add a heading for each categorical variable in my regression. This is the code I …
Factor calculation based on dual variable namesHi, I am trying to calculate a currency value factor based on currency spot and lagged exchange rat…
Industry fixed effect in an ols regressionDear Statlist, I am conducting an event study for a sample of 153 companies announcing layoffs betw…
UPDATES error_3499: coefficient table function not foundHello, I am using Stata 16.1 and encountered the following error message when running even simple r…
Regression with only the last 80 linesHello, i´m not sure if it possible or how i programm it. Here is my problem: The dataset includes 20…
Subscribe to:
Post Comments (Atom)
0 Response to Removing duplicate permutations
Post a Comment