Essays on Econometrics of Network Models