Global and local behavior of positive solutions of nonlinear elliptic equations