In this paper, the behavior of ranked set sampling is analyzed considering the knowledge of the auxiliary variable. The suggested estimators are compared with their simple random sampling counterparts. A numerical study is developed using data from a study developed on the contamination due to burning compost from solid waste from hospitals.