Require StatsBase for tests