Is it possible to create a CustomDistribution in AnyLogic with an double array interval_start and a double array probability, which is one unit smaller? It shall look like this: CustomDistribution c = new CustomDistribution(interval_start, probability);
I could not find any constructor for this case - more specifically for probabilities. The only similar constructor I could find was this: CustomDistribution(double[] intervalStarts, double[] numberOfObservations)
My second question is how can I plot this distribution in AnyLogic?
Custom distributions just use the relative numbers of observations as probabilities (i.e., the ratios between them determine the probabilities). You can actually use probabilities (0-1 values) as "number of observed values"; "observed values" is just the way AnyLogic chose to name it.