powered by
popmid calculates the cumulative midpoints for population percentiles that can then be used as the predictor in the OLS model for calculating the slope, i.e. the slope index of inequality (SII). For internal use within the rii function.
popmid
rii
popmid(x)
Vector of population distribution that sums to 1.
A vector of population midpoints.