Statistical Methods in Graphs: Parameter Estimation, Model Selection, and Hypothesis Test