Skip to content
Prev 77549 / 398502 Next

Strange Result using weightedMedian

Oliver Duerr wrote:
By the way:

 > library(Hmisc)
 > wtd.quantile(x,w)
    0%   25%   50%   75%  100%
0.200 0.275 0.400 0.500 0.500

Also see the type argument to wtd.quantile