The distribution I fit in Python was lognorm Parameters: (s=0.5115721843941159, loc=-4.48772317308287, scale=21.79052118482253)
I translated this to JaamSim as:
Location: -4.488 minutes Scale: 21.791 minutes NormalMean: 3.082 (dimensionless) NormalSD: 0.512 (dimensionless) Min: 0 minutes Max: 60 minutes
And I chose the min and max based on my original data and the visual distribution.
Then, I tested these parameters in Python to see how often samples would appear out of bounds, and the proportion of samples within bounds was 99.1%
Thus, I'm a bit confused why this error is appearing in JaamSim. Am I misinterpreting one of the input parameters?
Any help would be appreciated!
Thanks,
Christina
The LogNormalDistribution generates random samples from a Log-Normal probability distribution. If z is a normally-distributed random variable, then x = exp(z) is log-normally distributed.
ParametersLocation, Scale, NormalMean, NormalStandardDeviation
The NormalMean and NormalStandardDeviation parameters are the mean and standard deviation for the underlying normal distribution.
The Scale input for the Log-Normal distribution should be set to 1.0 in the units to be returned by the distribution. For example, if samples with the units of time in hours are to be generated, then the Scale input should be set to 1.0 h. The effective scale parameter for the Log-Normal distribution is the product of the Scale input and the exponential of the NormalMean input.
Probability Density FunctionPDF(x) = 1/(y * Shape * sqrt(2*Pi)) * exp((-(ln(y))^2)/(2*Shape^2))
where y = (x - Location) / EffScale,
EffScale = Scale * exp(NormalMean), and
Shape = NormalStandardDeviation
Cumulative Distribution FunctionCDF(x) = no closed form solution
Mean Value