The Erlang distribution is a continuous distribution bounded on the
lower side. It is a special case of the Gamma
distribution where the
parameter, m, is restricted to a positive integer. As such, the Erlang
distribution has no region where F(x) tends to infinity at the minimum
value of x [m<1], but does have a special case at m=1, where it
reduces to the Exponential
distribution.
The Erlang distribution has been used extensively in reliability and in
queuing theory, thus in discrete event simulation, because it can be
viewed as the sum of m exponentially distributed random variables, each
with mean beta.
Generates a sample of the Erlang distribution.
Name |
Type |
Description |
beta |
double |
the scale factor > 0 |
m |
int |
the shape factor (positive integer) |
min |
double |
the minimum x value |
Type |
Description |
double |
the generated sample |
Generates a sample of the Erlang distribution with min set to 0. Is equivalent to erlang(beta, m, 0).
Name |
Type |
Description |
beta |
double |
the scale factor > 0 |
m |
int |
the shape factor (positive integer) |
Type |
Description |
double |
the generated sample |
Generates a sample of the Erlang distribution using the specified random number generator.
Name |
Type |
Description |
beta |
double |
the scale factor > 0 |
m |
int |
the shape factor (positive integer) |
min |
double |
the minimum x value |
r |
java.util.Random |
the random number generator |
Type |
Description |
double |
the generated sample |
This document includes content from the Stat::Fit User's Manual. Copyright © 2016 Geer Mountain Software Corp.