vladimir batagelj university of ljubljana,...

32
Methods of Network Analysis Clustering and Blockmodeling 4. Blockmodeling Vladimir Batagelj University of Ljubljana, Slovenia University of Konstanz, Algorithms and Data Structures June 13, 2002, 14-16h, room F 426

Upload: others

Post on 22-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

Methods of Network Analysis

Clustering and Blockmodeling4. Blockmodeling

Vladimir BatageljUniversity of Ljubljana, Slovenia

University of Konstanz, Algorithms and Data Structures

June 13, 2002, 14-16h, room F 426

Page 2: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 0/4

Blockmodeling

� matrix rearrangement view on blockmodeling

� blockmodeling and clusteringstructural and regular equivalence

� generalized blockmodeling

� prespecified blockmodels

� 2-mode blockmodeling

University of Konstanz June 2002

Page 3: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 1/4

Matrix rearrangement view on blockmodelingSnyder & Kick’s World trade network / � � � � � , � � � ��

Pajek - shadow 0.00,1.00 Sep- 5-1998World trade - alphabetic order

afg alb alg arg aus aut bel bol bra brm bul bur cam can car cha chd chi col con cos cub cyp cze dah den dom ecu ege egy els eth fin fra gab gha gre gua gui hai hon hun ice ind ins ire irn irq isr ita ivo jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa mat mex mla mli mon mor nau nep net nic nig nir nor nze pak pan par per phi pol por rum rwa saf sau sen sie som spa sri sud swe swi syr tai tha tog tri tun tur uga uki upv uru usa usr ven vnd vnr wge yem yug zai

afg

a

lb

alg

a

rg

aus

a

ut

bel

b

ol

bra

b

rm

bul

b

ur

cam

c

an

car

c

ha

chd

c

hi

col

c

on

cos

c

ub

cyp

c

ze

dah

d

en

dom

e

cu

ege

e

gy

els

e

th

fin

fra

gab

g

ha

gre

g

ua

gui

h

ai

hon

h

un

ice

ind

ins

ire

irn

irq

isr

ita

ivo

jam

ja

p

jo

r

k

en

km

r

k

od

kor

k

uw

lao

leb

lib

liy

lux

maa

m

at

mex

m

la

mli

mon

m

or

nau

n

ep

net

n

ic

nig

n

ir

n

or

nze

p

ak

pan

p

ar

per

p

hi

pol

p

or

rum

rw

a

s

af

sau

s

en

sie

s

om

spa

s

ri

s

ud

sw

e

s

wi

syr

ta

i

th

a

to

g

tr

i

tu

n

tu

r

u

ga

uki

u

pv

uru

u

sa

usr

v

en

vnd

v

nr

wge

y

em

yug

z

ai

Pajek - shadow 0.00,1.00 Sep- 5-1998World Trade (Snyder and Kick, 1979) - cores

uki net bel lux fra ita den jap usa can bra arg ire swi spa por wge ege pol aus hun cze yug gre bul rum usr fin swe nor irn tur irq egy leb cha ind pak aut cub mex uru nig ken saf mor sud syr isr sau kuw sri tha mla gua hon els nic cos pan col ven ecu per chi tai kor vnr phi ins nze mli sen nir ivo upv gha cam gab maa alg hai dom jam tri bol par mat alb cyp ice dah nau gui lib sie tog car chd con zai uga bur rwa som eth tun liy jor yem afg mon kod brm nep kmr lao vnd

uki

n

et

bel

lu

x

fr

a

it

a

d

en

jap

usa

c

an

bra

a

rg

ire

sw

i

s

pa

por

w

ge

ege

p

ol

aus

h

un

cze

y

ug

gre

b

ul

rum

u

sr

fin

sw

e

n

or

irn

tur

irq

egy

le

b

c

ha

ind

pak

a

ut

cub

m

ex

uru

n

ig

ken

s

af

mor

s

ud

syr

is

r

s

au

kuw

s

ri

th

a

m

la

gua

h

on

els

n

ic

cos

p

an

col

v

en

ecu

p

er

chi

ta

i

k

or

vnr

p

hi

ins

nze

m

li

s

en

nir

ivo

upv

g

ha

cam

g

ab

maa

a

lg

hai

d

om

jam

tr

i

b

ol

par

m

at

alb

c

yp

ice

dah

n

au

gui

li

b

s

ie

tog

car

c

hd

con

z

ai

uga

b

ur

rwa

som

e

th

tun

liy

jor

yem

a

fg

mon

k

od

brm

n

ep

km

r

la

o

v

nd

Alphabetic order of countries and ordering based on the core decomposition

University of Konstanz June 2002

Page 4: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 2/4

Ordering the matrix

There are several ways how to rearrange a given matrix – determine an ordering orpermutation of its rows and columns – to get some insight into its structure:

� ordering by degree;

� ordering by connected components;

� ordering by core number, connected components inside core levels, and degree;

� ordering according to a hierarchical clustering and some other property.

There exists also some special procedures to determine the ordering. We shall describethem on 2-mode networks.

A 2-mode network is a network � � � ��� � in which the vertices are partitioned intotwo sets � and � such that every link connects a vertex from � to a vertex from �

(bipartite graph).

University of Konstanz June 2002

Page 5: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 3/4

Seriation

Given a 2-mode network � � ��� ��� ��� � � � ,� � � � � ,� � � � IR� .Let ! � � �" # # $ , % � � �" # # & be bijections (’permutations’).

For a row-unit ' ( � we define its row-sum

) � ' � �* +, -/. 0

� � ' � 1 �

and for col-unit1 ( � its col-sum2 �1 � �

. +,43 5 - * 0� � ' � 1 �

and finally we define the row-weight 6 � ' � and the col-weight 7 �1 �

6 � ' � � ") � ' � * +, -/. 0

% �1 �� � ' � 1 � 7 �1 � � "2 �1 � . +,43 5 - * 0 ! � ' �� � ' � 1 �

If ) � ' � � 8 then 6 � ' � � 8 ; if 2 � ' � � 8 then 7 � ' � � 8 .

University of Konstanz June 2002

Page 6: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 4/4

. . . seriation

The seriation algorithm:

determine (random) % ;repeat

compute row-weights 6 � ' � , ' ( � ; ! � � sort decreasing ��� � 6 � ;compute col-weights 7 �1 � ,1 ( � ; % � � sort decreasing �� � 7 � ;

until orderings stabilize (or max-steps reached)

In the case of 1-mode network we set ! � % and use as a unit-weight 6 � ' ��9 7 � ' � .

University of Konstanz June 2002

Page 7: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 5/4

Clumping

The idea of clumping approach is to arrange the units in such an order that a measureof ’clumpiness’ is maximized. The ordering is built sequentially by greedy addinga new unit at the best place in the current ordering represented by a list containing

: units and two ’sentinel’ units ; ' � < � ' � � ' � � # # # � ' = � < � ' =� � > . Inserting arow-unit ' in this list after the element ' ? produces the row-’clumpiness’

@ ��A � �* +, -/. 0CB -, -/. D 0CE , -/. D F 5 0 0

� � ' �1 � �� � ' ? �1 ��9 � � ' ?� � �1 � �

If � ' �1 � G( � we set� � ' � 1 � � 8 . The clumping algorithm

select (random) ' ( � ; H � � � IJ ' K ; L )MN ) � � ; < � ' � < > ; : � �" ;while H O� P do begin

select ' ( H ; H � � H IJ ' K ;forA � � 8 to : do compute @ � A � ;

Q � � RS TVU RW ? @ � A � ; insert ' in the L )MN ) after ' X ; : � � : 9 "

end;

University of Konstanz June 2002

Page 8: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 6/4

. . . clumping

In the same way (transpose the network) we can order also the columns.

In the case of 1-mode network we use the combined criterion – sum of row- andcol-clumpiness.

Untested idea 1: subtract the squares of values with no matching value.

Untested idea 2: for large networks it would be better to design the algorithm aroundthe sets� � ' ? �Y � � ' ?� � � .

University of Konstanz June 2002

Page 9: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 7/4

Blockmodeling as a clustering problem

The goal of blockmodeling is to reducea large, potentially incoherent networkto a smaller comprehensible structurethat can be interpreted more readily.Blockmodeling, as an empirical proce-dure, is based on the idea that units ina network can be grouped according tothe extent to which they are equivalent,according to some meaningful defini-tion of equivalence.

University of Konstanz June 2002

Page 10: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 8/4

Cluster, clustering, blocks

One of the main procedural goals of blockmodeling is to identify, in a given network

� � ��� �� � ,� � � � � , clusters (classes) of units that share structural charac-teristics defined in terms of� . The units within a cluster have the same or similarconnection patterns to other units. They form a clustering Z � J\[ � �[ � � # # # �[ = K

which is a partition of the set � . Each partition determines an equivalence relation(and vice versa). Let us denote by] the relation determined by partition Z .

A clustering Z partitions also the relation� into blocks

� �[ ? �[ X � � �^ [ ? �[ XEach such block consists of units belonging to clusters[ ? and[ X and all arcs leadingfrom cluster[ ? to cluster[ X . IfA � Q , a block� �[ ? �[ ? � is called a diagonal block.

University of Konstanz June 2002

Page 11: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 9/4

Structural and regular equivalence

Regardless of the definition of equivalence used, there are two basic approaches to theequivalence of units in a given network (compare Faust, 1988):

� the equivalent units have the same connection pattern to the same neighbors;

� the equivalent units have the same or similar connection pattern to (possibly)different neighbors.

The first type of equivalence is formalized by the notion of structural equivalence andthe second by the notion of regular equivalence with the latter a generalization of theformer.

University of Konstanz June 2002

Page 12: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 10/4

Structural equivalence

Units are equivalent if they are connected to the rest of the network in identical ways(Lorrain and White, 1971). Such units are said to be structurally equivalent.

The units ' and1 are structurally equivalent, we write '_ 1 , iff the permutation(transposition) ` � � ' 1 � is an automorphism of the relation� (Borgatti and Everett,1992).

In other words, ' and1 are structurally equivalent iff:

s1. ' � 1 a 1 � ' s3. bc ( � I J ' �1 K � � ' � c a 1 � c �

s2. ' � ' a 1 � 1 s4. bc ( � I J ' �1 K � �c � ' a c � 1 �

The blocks for structural equivalence are null or complete with variations on diagonalin diagonal blocks.

University of Konstanz June 2002

Page 13: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 11/4

Regular equivalence

Integral to all attempts to generalize structural equivalence is the idea that units areequivalent if they link in equivalent ways to other units that are also equivalent.

White and Reitz (1983): The equivalence relation d on� is a regular equivalence onnetwork � � � � ��� � if and only if for all ' �1 �c ( � , ' d 1 implies both

R1. ' � c ef g ( � � �1 � gh g d c �

R2. c � ' ef g ( � � � g � 1 h g d c �

Another view of regular equivalence is based on colorings (Everett, Borgatti 1996).

Theorem 4.1 (Batagelj, Doreian, Ferligoj, 1992) Let Z � J\[ ? K be a partitioncorresponding to a regular equivalence d on the network � � ��� ��� � . Then eachblock� �[ i �[ j � is either null or it has the property that there is at least one 1 ineach of its rows and in each of its columns. Conversely, if for a given clustering Z ,each block has this property then the corresponding equivalence relation is a regularequivalence.

The blocks for regular equivalence are null or 1-covered blocks.

University of Konstanz June 2002

Page 14: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 12/4

Generalized BlockmodelingA blockmodel consists of structures ob-tained by identifying all units from thesame cluster of the clustering Z . Foran exact definition of a blockmodel wehave to be precise also about whichblocks produce an arc in the reducedgraph and which do not, and of whattype. Some types of connections arepresented in the figure on the next slide.The reduced graph can be representedby relational matrix, called also imagematrix.

University of Konstanz June 2002

Page 15: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 13/4

Block Types

University of Konstanz June 2002

Page 16: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 14/4

Characterizations of Types of Blocks

null nul all 0k

complete com all 1k

regular reg 1-covered rows and columns

row-regular rre each row is" -covered

col-regular cre each column is" -covered

row-dominant rdo f all 1 rowkcol-dominant cdo f all 1 columnkrow-functional rfn f ! one 1 in each row

col-functional cfn f ! one 1 in each column

non-null one f at least one 1k except this may be diagonal

A block is symmetric iff b ' �1 ([ ? �[ X � � ' � 1 a 1 � ' � .University of Konstanz June 2002

Page 17: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 15/4

Block Types and Matrices

1 1 1 1 1 1 0 0

1 1 1 1 0 1 0 1

1 1 1 1 0 0 1 0

1 1 1 1 1 0 0 0

0 0 0 0 0 1 1 1

0 0 0 0 1 0 1 1

0 0 0 0 1 1 0 1

0 0 0 0 1 1 1 0

[ � [ �

[ � complete regular

[ � null complete

University of Konstanz June 2002

Page 18: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 16/4

Formalization of blockmodelingLet be a set of positions or images of clusters of units. Let l � � � denote amapping which maps each unit to its position. The cluster of units[ ��m � with the samepositionm ( is

[ ��m � � ln � ��m � � J ' ( � � l � ' � � m K

Therefore

Z � l � � J\[ �m � � m ( K

is a partition (clustering) of the set of units� .

University of Konstanz June 2002

Page 19: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 17/4

BlockmodelA blockmodel is an ordered sextuple o � � � p �rq � @ � ` ��s � where:

� is a set of types of units (images or representatives of classes);

� p � � is a set of connections;

� q is a set of predicates used to describe the types of connections between differentclasses (clusters, groups, types of units) in a network. We assume that nul ( q .A mapping ` � p � q I J nul K assigns predicates to connections;

� @ is a set of averaging rules. A mappings � p � @ determines rules forcomputing values of connections.

A (surjective) mapping l � � � determines a blockmodel o of network � iff itsatisfies the conditions:

b ��m � � � ( p � ` �m ��� � �[ ��m � �[ �� � �and

b ��m ��� � ( � I p � nul �[ �m � �[ �� � � #University of Konstanz June 2002

Page 20: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 18/4

Equivalences

Let] be an equivalence relation over� and ; ' > � J 1 ( � � '] 1 K . We say that

] is compatible withq over a network � iff

b ' � 1 ( �f t ( q � t � ; ' > � ;1 > � #

It is easy to verify that the notion of compatibility for q � J nul � reg K reducesto the usual definition of regular equivalence (White and Reitz 1983). Similarly,compatibility forq � J nul � com K reduces to structural equivalence (Lorrain andWhite 1971).

For a compatible equivalence] the mapping l � 'u � ; ' > determines a blockmodelwith � � G] .

The problem of establishing a partition of units in a network in terms of a selectedtype of equivalence is a special case of clustering problem that can be formulated asan optimization problem.

University of Konstanz June 2002

Page 21: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 19/4

Criterion function

One of the possible ways of constructing a criterion function that directly reflectsthe considered equivalence is to measure the fit of a clustering to an ideal one withperfect relations within each cluster and between clusters according to the consideredequivalence.

Given a clustering Z � J\[ � �[ � � # # # �[ = K , let v �[ i �[ j � denote the set of all idealblocks corresponding to block� �[ i �[ j � . Then the global error of clustering Z canbe expressed as

w � Z � �x y z x { +|

U} ~� +� - x y z x { 0M �� �[ i �[ j � � � �

where the termM �� �[ i �[ j � � � � measures the difference (error) between the block

� �[ i �[ j � and the ideal block� .M is constructed on the basis of characterizationsof types of blocks. The functionM has to be compatible with the selected type ofequivalence.

University of Konstanz June 2002

Page 22: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 20/4

For example, for structural equivalence, the termM �� �[ i �[ j � � � � can be expressed,for non-diagonal blocks, as

M �� �[ i �[ j � � � � �. + x y z * + x {�

) . *�� � . * � #

where ) . * is the observed tie and � . * is the corresponding value in an ideal block.This criterion function counts the number of 1s in erstwhile null blocks and thenumber of 0s in otherwise complete blocks. These two types of inconsistencies canbe weighted differently.

Determining the block error, we also determine the type of the best fitting ideal block(the types are ordered).

The criterion function w � Z � is sensitive iff w � Z � � 8 a l (determined by Z ) is anexact blockmodeling. For all presented block types sensitive criterion functions canbe constructed (Batagelj, 1997).

The obtained optimization problem can be solved by local optimization. Once apartitioning l and types of connection ` are determined, we can also compute thevalues of connections by using averaging rules.

University of Konstanz June 2002

Page 23: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 21/4

Benefits from Optimization Approach� ordinary / inductive blockmodeling: Given a network � and set of types of

connectionq , determine the model o ;

� evaluation of the quality of a model, comparing different models, analyzingthe evolution of a network (Sampson data, Doreian and Mrvar 1996): Givena network � , a model o , and blockmodeling l , compute the correspondingcriterion function;

� model fitting / deductive blockmodeling: Given a network � , set of typesq , anda family of models, determine l which minimizes the criterion function (Batagelj,Ferligoj, Doreian, 1998).

� we can fit the network to a partial model and analyze the residual afterward;

� we can also introduce different constraints on the model, for example: units '

and1 are of the same type; or, types of units ' and1 are not connected; . . .

University of Konstanz June 2002

Page 24: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 22/4

Pre-Specified BlockmodelsThe pre-specified blockmodeling starts with a blockmodel specified, in terms ofsubstance, prior to an analysis. Given a network, a set of ideal blocks is selected, afamily of reduced models is formulated, and partitions are established by minimizingthe criterion function.

The basic types of models are:

* *

* 0

* 0

* *

* 0

0 *

0 *

* 0

center - hierarchy clustering bipartition

periphery

University of Konstanz June 2002

Page 25: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 23/4

The Student Government at the University of Ljubljana in 1992

The relation is determined by the following question (Hlebec, 1993):

Of the members and advisors of the Student Government, whom do you(most often) talk with (about the matters of the Student Government)?

m p m m m m m m a a a1 2 3 4 5 6 7 8 9 10 11

minister 1 1� 1 1� � 1� � � � �

p.minister 2� � � � � � � 1� � �

minister 2 3 1 1� 1� 1 1 1� � �minister 3 4� � � � � � 1 1� � �minister 4 5� 1� 1� 1 1 1� � �minister 5 6� 1� 1 1� 1 1� � �minister 6 7� � � 1� � � 1 1� 1minister 7 8� 1� 1� � 1� � � 1adviser 1 9� � � 1� � 1 1� � 1adviser 2 10 1� 1 1 1� � � � � �

adviser 3 11� � � � � 1� 1 1� �

minister1

pminister

minister2

minister3

minister4

minister5

minister6

minister7

advisor1

advisor2

advisor3

University of Konstanz June 2002

Page 26: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 24/4

A Symmetric Acyclic Blockmodel of Student Government

The obtained clustering in 4clusters is almost exact. Theonly error is produced by thearc ��� � � & � � .

University of Konstanz June 2002

Page 27: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 25/4

Ragusan Noble Families Marriage Network, 18th and 19th Century1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Basilio 1 � � � � � � � � � � � � � � � � � � � � 1 � �

Bona 2 � � � � � � 1 � � � 2 � 2 � � � � � � � 1 � �

Bonda 3 � � � � � � � � � � � � � � � � � � � � 2 � �

Bosdari 4 � 1 � � � � � � � � � � � � � � � � � � � � 1Bucchia 5 � � � � � � � � � � � � 1 � � � � � � � � � �

Caboga 6 � � � � � � 1 � � � � � 1 1 � � � � 1 � 1 � �

Cerva 7 � 1 � � � 1 � � � � � � 1 � � � � � � � 1 � �

Georgi 8 � 1 2 � � � 1 � � � � � � � � 4 � � � � � � 1Ghetaldi 9 � 1 � � � � � 1 � 1 � � � 1 � � � � 1 � � � �

Gondola 10 � 1 � � � � � � � � � � � � � � � � � � � � �

Goze 11 1 2 1 � � � � � � � 2 2 � � � � � � � � 2 1 �

Gradi 12 � � � � � � � � � � 1 � � � � 1 � � � � 3 � �

Menze 13 � � � � � 1 � � 1 � � � � � � � � � � � � � 1Natali 14 � � � � � � � � � � � � � � � � � � � � � � �

Pauli 15 � 1 � � � � � � � � � � � � � � � � � � � � �

Poza 16 � � 2 � � � � � � � 1 � � � � 1 � � � � 1 � �

Ragnina 17 � 1 1 � � � � � � � 1 � � � � � � � � � 1 � �

Resti 18 � � � � � � � � � � � 1 � � � � � � � � � � 1Saraca 19 � � � � � � � � 1 � � � � � � � � � � � � � �

Slatarich 20 � � � � � � � � � � � � � � � � � � � � � � �

Sorgo 21 � 2 1 � � � � � � � 1 � � � � � � � � 1 1 � 1Tudisi 22 � � � � � � � � � � � � � � � � � � � � 1 � �

Zamagna 23 � 1 � � � � � � 2 � � � � � � � � � � � 1 � �

University of Konstanz June 2002

Page 28: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 26/4

A Symmetric-Acyclic Decomposition of the Ragusan FamiliesNetwork

University of Konstanz June 2002

Page 29: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 27/4

Blockmodeling in 2-mode networksWe already presented some ways of rearranging 2-mode network matrices at thebeginning of this lecture.

It is also possible to formulate this goal as a generalized blockmodeling problemwhere the solutions consist of two partitions — row-partition and column-partition.

University of Konstanz June 2002

Page 30: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 28/4

Supreme Court Voting for Twenty-Six Important DecisionsIssue Label Br Gi So St OC Ke Re Sc ThPresidential Election PE - - - - + + + + +

Criminal Law CasesIllegal Search 1 CL1 + + + + + + - - -Illegal Search 2 CL2 + + + + + + - - -Illegal Search 3 CL3 + + + - - - - + +Seat Belts CL4 - - + - - + + + +Stay of Execution CL5 + + + + + + - - -

Federal Authority CasesFederalism FA1 - - - - + + + + +Clean Air Action FA2 + + + + + + + + +Clean Water FA3 - - - - + + + + +Cannabis for Health FA4 0 + + + + + + + +United Foods FA5 - - + + - + + + +NY Times Copyrights FA6 - + + - + + + + +

Civil Rights CasesVoting Rights CR1 + + + + + - - - -Title VI Disabilities CR2 - - - - + + + + +PGA v. Handicapped Player CR3 + + + + + + + - -

Immigration Law CasesImmigration Jurisdiction Im1 + + + + - + - - -Deporting Criminal Aliens Im2 + + + + + - - - -Detaining Criminal Aliens Im3 + + + + - + - - -Citizenship Im4 - - - + - + + + +

Speech and Press CasesLegal Aid for Poor SP1 + + + + - + - - -Privacy SP2 + + + + + + - - -Free Speech SP3 + - - - + + + + +Campaign Finance SP4 + + + + + - - - -Tobacco Ads SP5 - - - - + + + + +

Labor and Property Rights CasesLabor Rights LPR1 - - - - + + + + +Property Rights LPR2 - - - - + + + + +

The Supreme Court Jus-tices and their ‘votes’ ona set of 26 “important de-cisions” made during the2000-2001 term, Doreianand Fujimoto (2002).The Justices (in the orderin which they joinedthe Supreme Court) are:Rehnquist (1972), Stevens(1975), O’Conner (1981),Scalia (1982), Kennedy(1988), Souter (1990),Ginsburg (1993) andBreyer (1994).

University of Konstanz June 2002

Page 31: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V.B

atag

elj:

Clu

ster

ing

and

Blo

ckm

odel

ing

29/4

...S

upre

me

Cou

rtVo

ting

/a(4

,7)p

artit

ion

Pajek - shadow [0.00,1.00]

CampaignFi

VotingRigh

DeportAlie

IllegalS.1

IllegalS.2

StayExecut

PGAvPlayer

Privacy

Immigratio

LegalAidPo

CriminalAl

IllegalS.3

CleanAirAc

Cannabis

NYTimes

SeatBelt

UnitedFood

Citizenshi

PresElecti

Federalism

FreeSpeech

CleanWater

TitleIV

Tobacco

LaborIssue

Property

Reh

nque

st

Thom

as

Sca

lia

Ken

nedy

OC

onne

r

Bre

yer

Gin

sbur

g

Sou

ter

Ste

vens

uppe

r–co

nser

vativ

e/l

ower

–lib

eral

Uni

vers

ityof

Kon

stan

zJu

ne20

02

Page 32: Vladimir Batagelj University of Ljubljana, Sloveniavlado.fmf.uni-lj.si/pub/networks/doc/KN/Course4.pdf · 2002. 6. 28. · jam jap jor ken kmr kod kor kuw lao leb lib liy lux maa

V. Batagelj: Clustering and Blockmodeling 30/4

Final RemarksThe current, local optimization based, programs for generalized blockmodeling candeal only with networks with at most some hundreds of units. What to do with largernetworks is an open question. For some specialized problems also procedures for(very) large networks can be developed (Doreian, Batagelj, Ferligoj, 1998; Batagelj,Zaversnik, 2002).

Another interesting problem is the development of blockmodeling of valued networksor more general relational data analysis (Batagelj, Ferligoj, 2000).

Most of described procedures are implemented in Pajek – program for analysis andvisualization of large networks. It is freely available, for noncommercial use, at:

http://vlado.fmf.uni-lj.si/pub/networks/pajek/

The current version of these lectures is available at:

http://vlado.fmf.uni-lj.si/pub/networks/doc/

The author’s e-mail address is: [email protected]

University of Konstanz June 2002