ranked
(Package: MAMSE) :
Function used by link{MAMSE
Functions used by MAMSE to convert the data into rescaled ranks. By default, ranked=function(x){ rank(x)/(length(x)+1) }. The user can redefine the function according to other rescalings.
This package provides algorithms to calculate the nonparametric adaptive MAMSE weights. The MAMSE weights can be used for the weighted likelihood (see references below), or as mixing probabilities to define mixtures of empirical distributions. They provide a framework to borrow strenght with minimal assumptions.