Uniform Lattice Distribution

These functions give you access to the uniform lattice distribution. For more information about Fathom's distribution functions, click here.

uniformLatticeProbabiliity(x, min, max, n)

uniformLatticeCumulative(x, min, max, n)

uniformLatticeQuantile(x, min, max, n)

 min = the minimum value
max
= the maximum value
n
= the number of possibilities

The density, cumulative, and quantile functions for the uniform lattice distribution. The distribution is distributed evenly among n values, spread from min to max.

Only x (the independent variable) is required. The n, if present, must be >= 2.

defaults: min = 0, max = 1, n = max - min + 1.

Thus uniformLatticeProbabiliity(x) --the default function--is 0.5 at 0 and 0.5 at 1 -- and 0 everywhere else.

You may also draw random values from this distribution: 

randomUniformLattice(min, max, n)

A random value drawn from that distribution.

Here are some plots to help you understand the meaning of the distribution.

See also statistical functions (for mean( ) and its cousins).