Managing attributes (tutorial): Difference between revisions
Line 18: | Line 18: | ||
It can be seen that the network is complete (i.e., each pair of actors is connected by a bidirectional tie. All links have an attribute called '''csv value''' whose value corresponds to the respective entry in the adjacency matrix and, thus, is equal to the '''rank''' of the target node in the ordered list of friends of the source node. | It can be seen that the network is complete (i.e., each pair of actors is connected by a bidirectional tie. All links have an attribute called '''csv value''' whose value corresponds to the respective entry in the adjacency matrix and, thus, is equal to the '''rank''' of the target node in the ordered list of friends of the source node. | ||
== Who is the most popular? == | |||
For illustration, we want to explore the popularity of actors with respect to the aggregated nomination of all others. Clearly, the number of incomming ties would not be a good measure for this, since each node receives exactly 16 links. The information about how popular actors are lies in the ranking of the ties. In the extremal case it would be possible that one actor (the most popular one) receives 16 links having rank equal to 1 and another actor receives 16 links labeled 16 (i.e., this actor would be the least friend for all others). | |||
There are several possibilities to turn the weighted nominations into a one-dimensional measure for popularity: dichotomizing the network by defining a threshold that separates between the "friends" and the "non-friends"; computing a weighted indegree that takes into account the link weights; or combinations of the two. Some of these possibilities are illustrated below. | |||
== Selecting and deleting links below a threshold == | == Selecting and deleting links below a threshold == | ||
== Modyfying attributes == | == Modyfying attributes == |
Revision as of 08:44, 30 January 2011
This trail introduces you to the full power of visone's attribute manager and shows you how to select elements dependent on attribute values. The attribute manager allows you, for instance, to convert tie strength to distance or rankings and vice versa, dichotomize networks, rescale tie weights and much more.
An exemplary dataset: Newcomb Fraternity Data
The Newcomb Fraternity Data (see Newcomb T. (1961). The acquaintance process. New York: Holt, Reinhard & Winston.) consits of 15 matrices recording weekly sociometric preference rankings from 17 men attending the University of Michigan in the fall of 1956. Each participant ranks all 16 others from best friend down to least friend. This data set is explained in more detail on the page Newcomb Fraternity (data).
To follow the steps illustrated in this trail, you should download the file Newfrat.zip (ZIP file containing the 15 matrices newfrat01.csv to newfrat15.csv), save it to your computer and decompress (unzip) it.
Import the CSV files
We start by importing one of the adjacency matrices (e.g., newfrat01.csv) into visone. Therefore use the menu file, open and select the file type .csv, .txt. Before importing the file it is important to set the correct options; the images below show the file view tab and the format tab of the import options dialog.
Setting the options as shown in the format tab and clicking on ok opens the network which looks like the one shown on the right.
It can be seen that the network is complete (i.e., each pair of actors is connected by a bidirectional tie. All links have an attribute called csv value whose value corresponds to the respective entry in the adjacency matrix and, thus, is equal to the rank of the target node in the ordered list of friends of the source node.
Who is the most popular?
For illustration, we want to explore the popularity of actors with respect to the aggregated nomination of all others. Clearly, the number of incomming ties would not be a good measure for this, since each node receives exactly 16 links. The information about how popular actors are lies in the ranking of the ties. In the extremal case it would be possible that one actor (the most popular one) receives 16 links having rank equal to 1 and another actor receives 16 links labeled 16 (i.e., this actor would be the least friend for all others).
There are several possibilities to turn the weighted nominations into a one-dimensional measure for popularity: dichotomizing the network by defining a threshold that separates between the "friends" and the "non-friends"; computing a weighted indegree that takes into account the link weights; or combinations of the two. Some of these possibilities are illustrated below.