.frac_rank_cpp {LorenzRegression}R Documentation

Computes fractional ranks

Description

Computes the vector of fractional ranks related to a given vector

Usage

.frac_rank_cpp(x, pi)

Arguments

x

vector of size n gathering the values for which the fractional rank should be computed

pi

vector of size n gathering the observation weights (notice that sum(pi)=1)

Value

Fractional rank related to vector x


[Package LorenzRegression version 2.2.0 Index]