Discrete Uniform Distribution
Discrete Uniform Distribution
Basic References: Clculo de probabilidades y Estadstica . H. Fernndez-Abascal et al. (Ed. Ariel, Barcelona (SPAIN), 1994) Distributions in Statistics . N.L. Johnson et al. (Vol. 1-4). (Ed. J. Wiley y
Houghton M. Co., 1992, 1994, 1997). Copyright 2001 J.L. Rojo
m 4 =h 4 (3N 2 -7)(N 2 -1)/240 for X (central third and fourth moments for Y
are obtained by making h equal to unity). Obviously, every value is a
mode. The median equals Me X =a+(N/2-1)h if N is even, and Me X =E[X]
if N is odd. The skewness and (excess of) kurtosis coefficients are
derived from the previous moments, g 1 =0 , g 2 =[3(3N 2 -7)]/[5(N 2 -1)]-3 .
1.2
0.1
0.08
0.8
0.06
0.6
0.04
0.4
0.02
0.2
10 11 12 13 14 15 16 17 18 19 20
Distribution function
Distribution function
10
1
10
1.000
5.5
8.250
2.872
N=
a=
b=
h=
E[X]=
Var(X)=
Std. Dev.(X)=
N/2=
Integer part of N/2=
Computing Distr. Function
0
0.1
0.2
0.3
0.4
5
5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
1
1
1
1
1
1
1
1
1
1