On the theory of ratio estimates