Discrete Uniform Distribution |
(probability dist for equations) |
Usage: |
DiscUniformDist (k, a, b) |
Definition: |
1 / (b - a + 1) |
Required: |
b ⋝ a k, a, b are integers |
Support: |
a ⋜ k ⋜ b |
Moments: |
μ = (a + b) / 2 σ^2 = (b-a) (b–a+2) / 12 γ1 = 0 β2 = (3/5) [3 – 4 / [(b-a) (b–a+2)]] |
This distribution represents the situation where k has an equal probability of taking on any of the integer values from a to b inclusive (where a and b are integers). If k were continuous, then it would be a continuous uniform distribution.