Statistical Inference Based On Ranks