

| Color | a |
|---|---|
| red | 2.0 |
| green | 1.0 |
| light-blue | 0.5 |
This distribution generates floating point values greater
than 0.0 without an upper bound (in theory, it goes up to infinity). The following graphics show the results of the generation
of a thousand random values using the exponential distribution.
Colors correspond with the ones of the histograms above (for each value
of a). The graphics show the range of values [0.0, 1.0) that coincides
with histograms range.


We can see that, for this range of values, as the parameter
a
decreases the distribution of points gets more uniform (see the light-blue
graph), and that density of lower values grows with the value of
a (see
the red graph). We can also see that, as a consequence of filtering
values out of the [0.0, 1.0) range, global density decreases with
the value of a (compare the density of the three graphics).

| Color | a |
|---|---|
| red | 2 |
| green | 4 |
| light-blue | 8 |
This distribution, as the exponential, generates
floating point values greater than 0.0 without an upper bound (in theory,
it goes up to infinity).
The following graphic shows the distribution of a thousand
numbers for each of the three values of a shown on the histograms
(using the same color coding).

We can see that the value of a controls both the
location of the density peak as well as its dispersion: with higher values
of a the points are spread (see the light-blue dots).
In contrast, with lower values of a, the dots tend to be concentrated
around the histogram's peak or mode (see the red dots). We can make
a parallel between the histogram of this distribution and the frequency
response of a resonant filter, where the parameter a controls
both the Q and the center frequency.


| Color | a |
|---|---|
| red | 2.5 |
| green | 4.5 |
| light-blue | 6.5 |




The red curve shows the histogram of the beta distribution for a=b=0.5, the green curve shows the histogram for a=b=0.25.
With different values of a and b the histogram is no longer symmetrical.

The light-blue curve shows the histogram of the beta distribution for a=0.75 and b=0.5, the blue curve shows the histogram for a=0.5 and b=0.75.