Module: Split::Algorithms

Defined in:
lib/split/algorithms.rb,
lib/split/algorithms/whiplash.rb,
lib/split/algorithms/weighted_sample.rb,
lib/split/algorithms/block_randomization.rb

Defined Under Namespace

Modules: BlockRandomization, WeightedSample, Whiplash

Class Method Summary collapse

Class Method Details

.beta_distribution_rng(a, b) ⇒ Object



9
10
11
# File 'lib/split/algorithms.rb', line 9

def beta_distribution_rng(a, b)
  Rubystats::BetaDistribution.new(a, b).rng
end