.AdvancedNoise.Distributions.Bates.cumulative

Information

Syntax

Bates.cumulative(u, y_min=0, y_max=1, n=12);

Description

This function computes the cumulative distribution function according to a Bates distribution (= mean of n uniform distributions). The returned value y is in the range:

0 ≤ y ≤ 1

Plot of the function:

Diagram cumulative.png

For more details, see Wikipedia.

Example

cumulative(0,-3,3,12) // = 0.5

See also

Bates.density, Bates.quantile.

Interface

function cumulative
  import AdvancedNoise.Math.factorial;
  import AdvancedNoise.Math.binomial;
  extends Modelica.Math.Distributions.Interfaces.partialCumulative;
  input Real y_min = 0 "Lower limit of band" annotation(
    Dialog);
  input Real y_max = 1 "Upper limit of band" annotation(
    Dialog);
  input Integer n = 12 "Number of uniform random values" annotation(
    Dialog);
end cumulative;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos