On Some Inference Problems For Networks