summaryrefslogtreecommitdiff
path: root/doc/latex/latex/structure/correlations/compute_rho.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/latex/latex/structure/correlations/compute_rho.tex')
-rw-r--r--doc/latex/latex/structure/correlations/compute_rho.tex32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/latex/latex/structure/correlations/compute_rho.tex b/doc/latex/latex/structure/correlations/compute_rho.tex
new file mode 100644
index 0000000..957b04c
--- /dev/null
+++ b/doc/latex/latex/structure/correlations/compute_rho.tex
@@ -0,0 +1,32 @@
+\myprogram{{compute\_rho.py}}
+ {compute the Spearman's rank correlation coefficient $\rho$
+ between two rankings.} {$<$file1$>$ $<$file2$>$}
+
+\mydescription{Compute the Spearman's rank correlation coefficient
+ $\rho$ between two rankings provided in the input
+ files \textit{file1} and \textit{file2}. Each input file
+ contains a list of lines, where the n-th line contains the
+ value of rank of the n-th node. For instance, \textit{file1}
+ and \textit{file2} might contain the ranks of nodes induced
+ by the degree sequences of two distinct layers of a
+ multiplex.
+
+ However, the program is pretty general and can be used to
+ compute the Spearman's rank correlation coefficient between
+ any generic pair of rankings.
+
+ N.B.: A C implementation of this program, with the same
+ interface is also available in the executable
+ file \texttt{compute\_rho}.}
+
+
+\myreturn{The program prints on \texttt{stdout} the value of the
+ Spearman's rank correlation coefficient $\rho$ between the
+ two rankings provided as input. }
+
+\myreference{\refcorrelations
+
+ \refgrowth
+
+ \refnonlinear
+ }