CS 765 Complex Networks

Fall 2011

Network Lab 4

Due on Monday Nov 30, 2011 at 11:00 am

Your network vs. random (4 points)

For this lab, you will need to use your Facebook network from 2nd lab

  1. Compute the average clustering coefficient (Net>Vector>Clustering Coefficients>CC1) and average shortest path (Net>Paths between two vertices > Distribution of distances > From all vertices and look in the report window).
  2. Select two of your buddies. Look up the value of their individual clustering coefficient in your network.
  3. Highlight their ego-networks (just them and their friends) and explain the clustering coefficient in terms of their number of friends (well, their number of their friends who are also your friends) and the number of edges they have between them.
  4. Construct a random network with the same number of nodes and average degree (Net>Random Network>Erdos-Renyi>undirected). Visualize it and include an image.
  5. Compute the average clustering coefficient and average shortest path for the corresponding random graph.
  6. Describe how the clustering coefficient and average shortest path of your social network compare to its random counterpart.
  7. From this conclude whether or not it exhibits small world properties. (bonus)
Random graphs and giant components (3 points)
  1. Go to http://ccl.northwestern.edu/netlogo/models/GiantComponent and launch the applet. Click 'setup' and then 'go'.

  2. Try it with 80 nodes and then 400 (if your computer can not compute, use smaller node sizes). Observe what happens right around the point where the average degree is 1 (the vertical line in the plot). Comment about the variation in the size of the largest component as you increase the number of edges/nodes.
Analyzing blogosphere (3 points)

Download the file poliblog.gdf from cTools . It represents the citation patterns between 40 list blogs during a couple of months preceding the 2004 presidential election, along with the political leaning of those blogs. Open it in Guess (one way of doing this is by clicking the "Load GDF/GraphML" button after guess starts up). Do the following (submit just the final image and the list of commands you used).

You may save the commands in a .py file to repeat the process. You would need to call execfile("yourfilename.py"), or select File>Run Script in the dropdown menu. To save your network with the new colors & positions, you could use the exportGDF(“filename.gdf”) command. You could also have created a persistent database when starting Guess.

Submitting your files

Submission of your homework is via WebCampus. You must submit all the required files in a single tar or zip file containing all the files for your submission.

Acknowledgement: The assignment is modified from Lada Adamic.