13
Chapter 2 Attributes and Relations: Exploratory Network Analysis with Pajek WANG Chengjun [email protected] 2010.12.24

Pajek chapter2 Attributes and Relations

Embed Size (px)

Citation preview

Page 1: Pajek chapter2 Attributes and Relations

Chapter 2 Attributes and Relations:

Exploratory Network Analysis with PajekWANG Chengjun

[email protected] 2010.12.24

Page 2: Pajek chapter2 Attributes and Relations

Extract a sub-network information of continent and world system are attributes

Drawing dining-table partnersPartition> create Null partitionDraw> draw-select all ctrl+aPress shift and click to raise the class number of a vertex by 1Press alt and click to subtract the class number by 1Position the cursor near the vertex to move the vertices in the same classExtract a sub-networkRead network and partition ‘continent.clu’Info> partition Cluster Freq Freq% CumFreq CumFreq% Representative --------------------------------------------------------------- 1 9 11.2500 9 11.2500 Algeria 2 17 21.2500 26 32.5000 Bangladesh 3 27 33.7500 53 66.2500 Austria 4 9 11.2500 62 77.5000 Belize 5 3 3.7500 65 81.2500 Australia 6 15 18.7500 80 100.0000 Argentina ---------------------------------------------------------------Operations> Extract from network>partition

Page 3: Pajek chapter2 Attributes and Relations

Data

*Vertices 80 1 "Algeria" 0.7842

0.6742 0.5000 2 "Argentina" 0.2643

0.2643 0.5000 3 "Australia" 0.3724

0.8080 0.5000 4 "Austria" 0.6082

0.3733 0.5000 5 "Barbados" 0.1677

0.5262 0.5000 6 "Bangladesh" 0.2388

0.9263 0.5000 7 "Belgium /Lux." 0.5515

0.3415 0.5000 8 "Belize" 0.1198

0.8247 0.5000 9 "Bolivia" 0.0545

0.2730 0.5000 10 "Brazil" 0.2030

0.6513 0.5000 .....

*Arcs 78 25 556 24 25

23023 26 25

12714 38 25

1243 78 28

2141 7 28 1586 24 28

47886 26 28

1242 38 28

6045 …. *Edges

Page 4: Pajek chapter2 Attributes and Relations

Ctrl+PHow to create the circular layout? First, use KK energy command. Second, manually move the partitioned vertices!

Page 5: Pajek chapter2 Attributes and Relations

Info> Partition

------------------------------------------------------------------------------ 3. World_system.clu (80) ------------------------------------------------------------------------------ Dimension: 80 The lowest value: 1 The highest value: 3

The highest clusters values:

Rank Vertex Cluster Id -------------------------------- 1 63 3 Reunion 2 62 3 Moldava. Rep. Of 3 30 3 Honduras 4 29 3 Guatemala

Frequency distribution of cluster numbers:

Cluster Freq Freq% CumFreq CumFreq% Representative --------------------------------------------------------------- 1 12 15.0000 12 15.0000 Austria 2 51 63.7500 63 78.7500 Algeria 3 17 21.2500 80 100.0000 Bangladesh --------------------------------------------------------------- Sum 80 100.0000

Page 6: Pajek chapter2 Attributes and Relations

Read network and partition ‘continent.clu’Info> partitionOperations> Extract from network>partition

Continent.clu *Vertices 80 1 6 5 ..... World system.clu *Vertices 80 2 2 2 1 3 .....

Page 7: Pajek chapter2 Attributes and Relations

Sub-network with world system information

Partition> first partition world system.clu

Second partition continent.clu

Extract second from first

Dialog box type 6 twice

Page 8: Pajek chapter2 Attributes and Relations

Global viewWe obtain a global view of a network by shrinking all vertices of a class to one new vertex.Operations> shrink network>partitionFile> partition> editNet> transform> remove> lines with values>lower than

Page 9: Pajek chapter2 Attributes and Relations

Redraw manually modify the picture

Page 10: Pajek chapter2 Attributes and Relations

Contextual viewthe interaction between Counties of Asia and other five continentsOperations> shrink network>partition

In the second dialog box, input the number of

selected cluster that will not be

shrunk

Page 11: Pajek chapter2 Attributes and Relations

Vector and coordinate

File> vector

Info> vector

Vector Values Frequency Freq% CumFreq CumFreq%

-------------------------------------------------------------------------- ( ... 2000.0000] 22 27.5000 22

27.5000 ( 2000.0000 ... 10000.0000] 27 33.7500

49 61.2500 ( 10000.0000 ... 20000.0000] 15 18.7500

64 80.0000 ( 20000.0000 ... 43034.0000] 16 20.0000

80 100.0000 -------------------------------------------------------------------------- Total 80 100.0000

Page 12: Pajek chapter2 Attributes and Relations

The conversion between Partition and Vector

Partition> make vector Vector>make partition> by

truncating(abs)

Page 13: Pajek chapter2 Attributes and Relations

Thank you and welcome for your comments