Contents - Index


NETWORK > COHESION > OLD DENSITY

PURPOSE Calculate the density of a network or 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.  In this case the density gives the average value.  The routine will perform the analysis for non-square matrices.

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

Utilize diagonal values:  (Default = NO)
For square matrices NO means that diagonal entries are ignored.

Row partitioning / Blocking (if any):
The name of an Ucinet dataset.To partition the rows of the data matrix into blocks, specify a blocking vector by giving the dataset name, a dimension and an integer value. For example, to use the second row of a dataset called ATTRIB, enter "ATTRIB ROW 2". The program will then read the second row of ATTRIB and use that information to sort the rows of the matrix. All rows with identical values on the criterion vector (i.e. the second row of attrib) will be placed in the same block of the matrix.  Densities will then be computed separately for each block.

 
Column partitioning / Blocking (if any):
The name of an Ucinet dataset.To partition the columns of the data matrix into blocks, specify a blocking vector by giving the dataset name, a dimension and an integer value. For example, to use the second row of a dataset called ATTRIB, enter "ATTRIB ROW 2". The program will then read the second row of ATTRIB and use that information to sort the columns of the matrix. All columns with identical values on the criterion vector (i.e. the second row of attrib) will be placed in the same block of the matrix.  Densities will then be computed separately for each block.


Output densities: (Default = 'DENSITY')
Name of data file which will contain density.

Output standard deviations: (Default = 'DENSITYSD')
Name of data file which will contain the standard deviations.

Output pre-image: (Default = 'DENSITYMODEL')
Name of data file which will contain the pre-image matrix.


LOG FILE Density value for each relation.

TIMING O(N^2)

COMMENTS None.

REFERENCES None.