Statistics for Heterogeneous Cellular Networks: From Resource Allocation To User Association