assortativity_indicators

bandicoot.network.assortativity_indicators(user)

Computes the assortativity of indicators.

This indicator measures the similarity of the current user with his correspondants, for all bandicoot indicators. For each one, it calculates the variance of the current user's value with the values for all his correspondants:

\[\text{assortativity}(J) = \frac{1}{n} \sum_i^n (J_{\text{user}} - J_{\text{i}})^2\]

for the indicator \(J\), and all the \(n\) correspondents.