EconPapers    
Economics at your fingertips  
 

Cross-closeness

Richard Tol

Economics Software Archive from Department of Economics, University of Sussex Business School

Abstract: Standard centrality measures are for horizontal distance. On a directed graph, outcloseness measures ancestry and incloseness measures descent. Cross-closeness measures vertical distances, that is, shared ancestry. There are three functions. Crosscloseness.m returns the average cross-closeness of all nodes to selected nodes in a graph. The average is the generalized average for parameter h. If h=1, this is the arithmatic average, if h=-1, it is the harmonic average. The other two are support functions. Crossdistance.m returns the matrix of distances between all nodes. Horzdist.m returns the distance between two nodes. Parameter d sets the depth: for d=1, only siblings are considered. For d=2, siblings and first cousins are considered. And so on.

Language: Matlab
JEL-codes: D85 (search for similar items in EconPapers)
Date: 2022-08-24
References: Add references at CitEc
Citations:

Downloads: (external link)
https://uk.mathworks.com/matlabcentral/fileexchange/116660-cross-closeness
Our link check indicates that this URL is bad, the error code is: 403 Forbidden

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:sus:susesa:0222

Access Statistics for this software item

More software in Economics Software Archive from Department of Economics, University of Sussex Business School Contact information at EDIRC.
Bibliographic data for series maintained by University of Sussex Business School Communications Team ().

 
Page updated 2025-04-01
Handle: RePEc:sus:susesa:0222