The efficiency of methods for solving lidar equation is studied for the case of a background aerosol and a priori set uncertainty in lidar data. The effect of the contribution of molecular scattering and the altitude behavior of the lidar ratio on the accuracy of reconstructing the atmospheric parameters is considered in numerical experiment. Optical parameters of the atmosphere reconstructed by different methods are compared with Raman lidar data.