joining_similar_avoiding_dissimilar_covar_bin function
joining_similar_avoiding_dissimilar_covar_bin
joining_similar_avoiding_dissimilar_covar_bin
Do individuals with the same attribute tend to use the same paths and individuals with different attributes to move to different places? This statistic gives a positive contribution to all pairs of individuals with the same (binary) covariate who use the same path and a negative one to pairs of dissimilar individuals following the same path.