##
StatsBase has a lot of dependencies, including Random:

```
module StatsBase
import Base: length, size, isempty, values, sum, show, maximum, minimum, extrema
import Base.Cartesian: @nloops, @nref, @nextract
using Base: @irrational, @propagate_inbounds
using DataAPI
import DataAPI: describe
import DataStructures: heapify!, heappop!, percolate_down!
using SortingAlgorithms
using Missings
using LogExpFunctions: xlogx, xlogy
using Statistics
using LinearAlgebra
using Random
using Printf
using SparseArrays
import Random: rand, rand!
import LinearAlgebra: BlasReal, BlasFloat
import Statistics: mean, mean!, var, varm, varm!, std, stdm, cov, covm,
cor, corm, cov2cor!, unscaled_covzm, quantile, sqrt!,
median, middle
using StatsAPI: StatisticalModel, RegressionModel
import StatsAPI: pairwise, pairwise!, params, params!,
fitted, response, responsename, meanresponse, modelmatrix,
crossmodelmatrix, leverage, cooksdistance, residuals, predict,
predict!, dof_residual, coef, coefnames, coeftable, confint,
deviance, islinear, nulldeviance, loglikelihood, nullloglikelihood,
loglikelihood, loglikelihood, score, nobs, dof, mss, rss,
informationmatrix, stderror, vcov, weights, isfitted, fit, fit!,
aic, aicc, bic, r2, r², adjr2, adjr²
...
```