Contents
- Index

**NETWORK>COHESION>DENSITY OVERALL**

**PURPOSE **Calculate the density of a network or the average value in a matrix.

**DESCRIPTION **The density of a binary network is the total number of ties divided by the total number of possible ties. For a valued network it is the total of all values divided by the number of possible ties. The density of a network is simply the average value of the binary entries and so density and average value are the same. The routine will perform the analysis for non-square matrices.

**PARAMETERS**

**Network dataset **

** **Name of file containing dataset to be analyzed. Data type: Valued graph.

** Output densities:**

Name of data file which will contain density the default will be <input filename>-density.

**Utilize diagonal (reflexive ties):**

If this is unchecked then for square matrices the diagonal entries are ignored.

**LOG FILE** Density value and number of ties for each relation for binary data and the average value and standard deviation for valued data.

**TIMING** O(N^2)

**COMMENTS** None.

**REFERENCES** None.