Service Time Distributions

ASQ currently allows the following continuous service rate distributions:

See Custom Discrete PDFs for Service Times for how to define custom discrete service time distributions. Note that when choosing parameters for these distributions, ensure that no negative numbers may be sampled.

The Uniform Distribution

The uniform distribution samples a random number between two numbers a and b. In the parameters.yml file, write a uniform distribution between 4 and 9 as follows:

- - Uniform
  - 4
  - 9

The Deterministic Distribution

The deterministic distribution is non-stachastic, and produces the same service time repeatedly. In the parameters.yml file, write a deterministic distribution that repeatedly gives a value of 18.2 as follows:

- - Deterministic
  - 18.2

The Triangular Distribution

The triangular distribution samples a continuous pdf that rises linearly from its minimum value low to its mode value mode, and then decreases linearly to its highest attainable value high. In the parameters.yml file, write a triangular distribution between 2.1 and 7.6 with mode of `3.4 as follows:

- - Triangular
  - 2.1
  - 7.6
  - 3.4

The Exponential Distribution

The exponential distribution samples a random number from the negative exponential distribution with 1 / lambda. In the parameters.yml file, write an exponential distribution with mean 0.2 as follows:

- - Exponential
  - 5

The Gamma Distribution

The gamma distribution samples a random number from the gamma distribution with shape parameter alpha and scale parameter beta. In the parameters.yml file, write a gamma distribution with parameters alpha = 0.6 and beta = 1.2 as follows:

- - Gamma
  - 0.6
  - 1.2

The Lognormal Distribution

The lognormal distribution samples a random number from the log of the normal distribution with mean mu and standard deviation sigma. In the parameters.yml file, write a lognomal distribution of the normal distribution with mean 4.5 and standard deviation 2.0 as follows:

- - Lognormal
  - 4.5
  - 2.0

The Weibull Distribution

The Weibull distribution samples a random number from the Weibull distribution with scale parameter alpha and shape parameter beta. In the parameters.yml file, write a Weibull distribution with alpha = 0.9 and beta = 0.8 as follows:

- - Weibull
  - 0.9
  - 0.8