use StatsBase instead of Distributions as dependency