discrete uniform distribution
Sign in to saveprobability distribution on equally likely outcomes
Key facts
- Notation
- U { a , b } {\displaystyle {\mathcal {U}}\{a,b\}} or u n i f { a , b } {\displaystyle \mathrm {unif} \{a,b\}}
- Parameters
- a , b {\displaystyle a,b} integers with b ≥ a {\displaystyle b\geq a} , n = b − a + 1 {\displaystyle n=b-a+1}
- Support
- k ∈ { a , a + 1 , … , b − 1 , b } {\displaystyle k\in \{a,a+1,\dots ,b-1,b\}}
- Pmf
- 1 n {\displaystyle {\frac {1}{n}}}
- Cdf
- ⌊ k ⌋ − a + 1 n {\displaystyle {\frac {\lfloor k\rfloor -a+1}{n}}}
- Mean
- a + b 2 {\displaystyle {\frac {a+b}{2}}}
- Median
- a + b 2 {\displaystyle {\frac {a+b}{2}}}
- Mode
- N/A
- Variance
- ( b − a + 1 ) 2 − 1 12 {\displaystyle {\frac {(b-a+1)^{2}-1}{12}}}
- Skewness
- 0 {\displaystyle 0}
- Excess kurtosis
- − 6 ( n 2 + 1 ) 5 ( n 2 − 1 ) {\displaystyle -{\frac {6(n^{2}+1)}{5(n^{2}-1)}}}
- Entropy
- ln ( n ) {\displaystyle \ln(n)}
- Mgf
- e a t − e ( b + 1 ) t n ( 1 − e t ) {\displaystyle {\frac {e^{at}-e^{(b+1)t}}{n(1-e^{t})}}}
- Cf
- e i a t − e i ( b + 1 ) t n ( 1 − e i t ) {\displaystyle {\frac {e^{iat}-e^{i(b+1)t}}{n(1-e^{it})}}}
- Pgf
- z a − z b + 1 n ( 1 − z ) {\displaystyle {\frac {z^{a}-z^{b+1}}{n(1-z)}}}
via Wikipedia infobox
Wikidata facts
Show 2 more facts
- on focus list of Wikimedia project
- Wikipedia:Vital articles/Level/4
- maintained by WikiProject
- WikiProject Mathematics
Sources (1)
via Wikidata · CC0
~6 min read
Encyclopedic overview
In probability theory and statistics, the discrete uniform distribution is a symmetric probability distribution wherein each of some finite whole number n of outcome values are equally likely to be observed. Thus every one of the n outcome values has equal probability 1/n. Intuitively, a discrete uniform distribution is "a known, finite number of outcomes all equally likely to happen."
A simple example of the discrete uniform distribution comes from throwing a fair six-sided die. The possible values are 1, 2, 3, 4, 5, 6, and each time the die is thrown the probability of each given value is 1/6. If two dice were thrown and their values added, the possible sums would not have equal probability and so the distribution of sums of two dice rolls is not uniform.
Excerpted from Wikipedia’s “discrete uniform distribution” article, available under the CC BY-SA 4.0 licence.