A Statistical Framework for Modern Network Science