A statistical test of independence for social network analysis /