An Econometric Model of Network Formation With Degree Heterogeneity