Generates a new column with values selected from the selected
distribution. There are two numerical parameters which can be
controlled, Value1 and Value2. Based on the distribution which is
selected the parameters have different meanings. See the section below
for an explanation.
Gaussian
- Value1: mean
- Value2: standard deviation > 0
Generates a random value from the Normal (or Gaussian) distribution with specified mean and standard deviation.
Exponential
- Value1: mean > 0
- Value2: not used
Generates a random value from the exponential distribution with specified mean.
Gamma
- Value1: shape > 0
- Value2: scale > 0
Generates a random value from the Gamma Distribution.
T
- Value1: df the degrees of freedom > 0
- Value2: not used
Generates a random value from the T Distribution.
Weibull
- Value1: shape > 0
- Value2: scale > 0
Generates a random value from the Weibull Distribution.
Beta
- Value1: alpha
- Value2: beta
Generates a random value from the Beta Distribution.
Cauchy
- Value1: median
- Value2: scale
Generates a random value from the Cauchy Distribution.
ChiSquare
- Value1: df - the degrees of freedom
- Value2: not used
Generates a random value from the ChiSquare Distribution.
F
- Value1: numeratorDf - the numerator degrees of freedom > 0
- Value2: denominatorDf - the denominator degrees of freedom > 0
Generates a random value from the F Distribution.
Uniform
- Value1: lower > upper
- Value2: upper
Generates a uniformly distributed random value from the open interval (lower, upper) (i.e., endpoints excluded).
The generation is performed with the Data Generators as provided by Apache Commons Math.