assortativity for Erdos-Renyi random graph