Collecting networkx
Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB)
|████████████████████████████████| 1.9 MB 19.8 MB/s
Installing collected packages: networkx
Successfully installed networkx-2.6.3
1. Create a network
In the beginning I will create the edgelist and work a bit with them, before I move on to the node list.
Generate network objects for the companies organizational structure (reports to), friendship, advice
(0, 1) 1
(0, 3) 1
(0, 7) 1
(0, 15) 1
(0, 17) 1
(0, 20) 1
(1, 5) 1
(1, 6) 1
(1, 20) 1
(2, 0) 1
(2, 1) 1
(2, 3) 1
(2, 5) 1
(2, 6) 1
(2, 7) 1
(2, 8) 1
(2, 9) 1
(2, 10) 1
(2, 11) 1
(2, 13) 1
(2, 16) 1
(2, 17) 1
(2, 19) 1
(2, 20) 1
(3, 0) 1
: :
(18, 17) 1
(18, 19) 1
(19, 0) 1
(19, 1) 1
(19, 5) 1
(19, 7) 1
(19, 10) 1
(19, 11) 1
(19, 13) 1
(19, 14) 1
(19, 15) 1
(19, 16) 1
(19, 17) 1
(19, 20) 1
(20, 1) 1
(20, 2) 1
(20, 3) 1
(20, 5) 1
(20, 6) 1
(20, 7) 1
(20, 11) 1
(20, 13) 1
(20, 16) 1
(20, 17) 1
(20, 19) 1
(0, 1) 1
(0, 3) 1
(0, 7) 1
(0, 11) 1
(0, 15) 1
(1, 0) 1
(1, 17) 1
(1, 20) 1
(2, 13) 1
(2, 18) 1
(3, 0) 1
(3, 1) 1
(3, 7) 1
(3, 11) 1
(3, 15) 1
(3, 16) 1
(4, 1) 1
(4, 8) 1
(4, 10) 1
(4, 13) 1
(4, 16) 1
(4, 18) 1
(4, 20) 1
(5, 1) 1
(5, 6) 1
: :
(14, 9) 1
(14, 10) 1
(14, 11) 1
(14, 13) 1
(14, 14) 1
(14, 15) 1
(14, 18) 1
(14, 19) 1
(14, 20) 1
(15, 1) 1
(16, 0) 1
(16, 1) 1
(16, 2) 1
(16, 4) 1
(16, 10) 1
(16, 11) 1
(16, 13) 1
(16, 14) 1
(16, 19) 1
(17, 10) 1
(17, 17) 1
(18, 1) 1
(18, 11) 1
(18, 16) 1
(18, 17) 1
(0, 0) 1
(1, 1) 1
(2, 2) 1
(3, 0) 1
(4, 2) 1
(5, 4) 1
(6, 4) 1
(7, 2) 1
(8, 3) 1
(9, 3) 1
(10, 4) 1
(11, 2) 1
(12, 1) 1
(13, 2) 1
(14, 0) 1
(15, 4) 1
(16, 1) 1
(17, 2) 1
(18, 2) 1
(19, 1) 1
So as I have worked and figured a bit out between the edgelists, I will continue to work on my nodelist.
ID AGE TENURE LEVEL DEPT
0 1 33 9.333 3 4
1 2 42 19.583 2 4
2 3 40 12.750 3 2
3 4 33 7.500 3 4
4 5 32 3.333 3 2
5 6 59 28.000 3 1
6 7 55 30.000 1 0
7 8 34 11.333 3 1
8 9 62 5.417 3 2
9 10 37 9.250 3 3
10 11 46 27.000 3 3
11 12 34 8.917 3 1
12 13 48 0.250 3 2
13 14 43 10.417 2 2
14 15 40 8.417 3 2
15 16 27 4.667 3 4
16 17 30 12.417 3 1
17 18 33 9.083 2 3
18 19 32 4.833 3 2
19 20 38 11.667 3 2
20 21 36 12.500 2 1
2. Analysis
A: Network level characteristics. Find the overal network level of: Density
Network density: 0.7571428571428571
A: Network level characteristics. Find the overal network level of: Transistivity (Clustering Coefficient)
Triadic closure: 0.7863577863577863
A: Network level characteristics. Find the overal network level of: Reciprocity
Reciprocity 0.0
Are relationships like friendship and advice giving usually reciprocal?
Reciprocity in advice 0.0
Reciprocity in advice 0.0
Are friends of your friends also your friends? - No idea.
Are the employees generally more likely to be in a friendship or advice-seeking relationship?
Who is most popular in the networks. Who is the most wanted friend, and advice giver?
Are managers in higher hirarchy more popular as friend, and advice giver?