Statistical Inference for Some Network Models