Law of Compliance ◾ 233
Bounded Distribution
A principal feature of the uniform distribution is its boundary. It is bounded on
both sides, in sharp contrast with the unbounded bell curve. To qualify as a uni-
form distribution function, three criteria must be met:
1. Bounding limits must be “final minimum,” clear, and not elastic or vague
2. Containment criterion 100%
3. Uniform probability criterion
In practice, there could be challenges in meeting criterion 3; there could be
turbulence between the limits.
ere are many bounded phenomena in software projects. Customer satisfac-
tion data are bounded between 1 and 5. SLA compliance is bounded between
0% and 100%. Time to repair is bounded between 0 and agreed upon maximum
time; hence, criterion 1 is met. e question in criterion 3 is uniformity. e pro-
cess could be any other bounded distributions, beta or truncated Gaussians. Here
comes a need for approximation and simplification. Uniform distribution is simpler
and hence is preferred in most cases.
When the customer does not specify boundary, and it is left to the process QA
to define the boundary based on data, challenges arise. In particular, estimating the
upper bound could be a challenging problem. Data may not show a sharp edge. If
we are using only sample data, then the problem of fixing upper bound is analogous
to the German tank problem relevant to the World War II situation [1].
German tanks were produced according to a uniform distribution [1, N]. e
number of tanks captured was n, a mere sample. Can we estimate N from the
sample data?
N m
m
= − +1 (14.3)
where N is the upper bound of the uniform distribution [1, N], n is the number of
tanks captured, and m is the Largest serial number in the sample.
Later, after the war, statistical estimations were found to be much closer to the
truth than intelligence reports, four to one.
Random Number Generators
Random numbers follow uniform distribution. However, it is difficult to gener-
ate random numbers that fit perfectly into a uniform distribution. ere are sev-
eral random number generators (RNGs), but they predict uniform distribution
with varying levels of success. For reliable results in simulation, we need perfect