Dear Stata Community, Hello;
I hope I could get some help with this one because I've trying to solve my problem, and I didn't get a solution, plus, I don't think it's faisable, I don't think it's possible to get something clear from this data I have.
So, I do have this data:
It's about 20 factors who are influenced by each other, and who are dependant on each other, it's what some experts call "an influence dependance matrix". As you can see, if a factor influences another factor, then it's "1", and if it's not the case, then it's a "0" (so it's binary". At then end, I did the Totals for each factor for the Influence and the Dependance question.
My goal is the following: I want to draw a four cluster graph using the Total by Influence and the Total bt Dependance for each factor (from F1 to F20) as the coordinates for each point on the graph. I want my x axis to be The Influence, and my y axis to be the Dependance. I've thought to have 4 clusters according to the degree of Total Influence and Total Dependance of each factor, so, for the first cluster, I wanna have the factors who are bad at Influence and bad at Dependance, and so on for the other 3 clusters.
I hope my explanation is very clear and I wish to get a clear graph for this, because it seemed to me that it is kinda impossible to do so.
Thanks very much for the help.
I hope I could get some help with this one because I've trying to solve my problem, and I didn't get a solution, plus, I don't think it's faisable, I don't think it's possible to get something clear from this data I have.
So, I do have this data:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str5 influencedpendance byte(f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20) int total "F1" 0 0 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 9 "F2" 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 0 1 0 0 1 9 "F3" 1 0 0 1 1 0 1 1 0 0 1 0 1 1 0 0 1 1 1 0 11 "F4" 0 1 1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 1 0 0 8 "F5" 1 1 1 1 0 1 1 1 0 0 1 0 0 1 0 0 1 1 1 0 12 "F6" 0 0 0 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 7 "F7" 1 1 1 0 1 0 0 0 0 0 1 1 1 0 0 0 0 1 1 0 9 "F8" 0 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 8 "F9" 1 0 1 1 0 1 1 0 0 0 0 1 1 1 1 0 0 1 1 1 12 "F10" 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 "F11" 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 5 "F12" 0 1 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 6 "F13" 0 1 1 1 0 0 0 0 0 0 1 0 0 1 0 1 1 0 0 1 8 "F14" 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 5 "F15" 0 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 0 1 7 "F16" 0 1 0 0 0 1 0 0 0 0 0 0 1 1 1 0 1 1 0 1 8 "F17" 1 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 6 "F18" 1 0 1 1 0 1 0 1 1 0 0 0 1 1 0 0 0 0 1 1 10 "F19" 1 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 1 0 0 0 7 "F20" 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 2 "TOTAL" 8 7 12 10 3 7 10 6 6 1 8 7 10 13 5 2 9 9 7 10 150 end
My goal is the following: I want to draw a four cluster graph using the Total by Influence and the Total bt Dependance for each factor (from F1 to F20) as the coordinates for each point on the graph. I want my x axis to be The Influence, and my y axis to be the Dependance. I've thought to have 4 clusters according to the degree of Total Influence and Total Dependance of each factor, so, for the first cluster, I wanna have the factors who are bad at Influence and bad at Dependance, and so on for the other 3 clusters.
I hope my explanation is very clear and I wish to get a clear graph for this, because it seemed to me that it is kinda impossible to do so.
Thanks very much for the help.
Comment