WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Confidence Intervals for the Erlang Distribution

λ
0.25
0.45
0.65
This Demonstration shows confidence intervals obtained by simulation for the parameter
λ
in an
Erlang(100,λ)
probability distribution.
The
Erlang(k,λ)
probability distribution is defined as the distribution of the sum
S
k
=
X
1
++
X
k
of
k
independent and identically distributed random variables
X
1
,,
X
k
, each distributed as
X
i
Expλ
(in Mathematica, ExponentialDistribution[λ]). In this case, the sum
S
k
is sufficient to determine
λ
, that is, it contains all the information needed to compute any estimate of the parameter [1]. In this Demonstration, the ClopperPearson method [2, 3] is used to produce interval estimates for
λ
, assuming a fixed sample size of 100, and their behavior is shown experimentally using simulation to produce random intervals. In this manner it may be seen that the method behaves rather well, since the relative frequency of the generated intervals that contain the true value of the parameter is very close to (and often higher than) the theoretical confidence level. Three different values (0.25, 0.45 and 0.65) are used for the experiment.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.