33
Pajek – Quick Reference sheet v2 – Sept 2009
19
9.0
Now close the Pajek program and then reopen it to start a fresh example on your own
.
This next file has both people and places in it. As you go through this example try and note any differences in
results (frequencies and drawings) between this file and the previous file.
Read in the text file called SN workshops WITH locations.txt using the same commands as on page 5 of this
guide.
Look at the report – notice the number of lines read. How many nodes are in this network?
Draw your network
Find the number of components in this network
Draw your components
Do you notice any differences between the numbers of components using this file compared to the other file?
Change the position of your nodes on your drawing
Change the look of your graph (if you want)
You could try marking your nodes using the labels or numbers
You could try changing the size of the nodes
You could try changing the colour of the vertices
Run a frequency of the components and the numbers of people in them
How many components are there? How many nodes are in this cluster?
Obtain the degrees for each node.
What is the highest degree?
What is the lowest degree?
What degree do the majority of nodes have?
Draw the network colour coded by their degrees.
If you were the field epidemiologist, the public health nurse or the MOH – What node(s) would you be interested
in from a disease transmission perspective and/or a follow-up contact tracing perspective?
In this network can you name the ‘bridge’?, can you name the cutpoint?
Simplify your network drawing by removing all the nodes with degree 1
Draw the simplified network
Simplify your network drawing again by removing all the nodes with degree 1 and degree 2
Draw the simplified network