In probability theory and statistics, the discrete uniform distribution is a symmetric probability distribution whereby a finite number of values are equally likely to be observed; every one of n values has equal probability 1/n. Another way of saying "discrete uniform distribution" would be "a known, finite number of outcomes equally likely to happen".
A simple example of the discrete uniform distribution is throwing a fair die. The possible values are 1, 2, 3, 4, 5, 6, and each time the dice is thrown the probability of a given score is 1/6. If two dice are thrown and their values added, the resulting distribution is no longer uniform since not all sums have equal probability.
The discrete uniform distribution itself is inherently nonparametric. It is convenient, however, to represent its values generally by all integers in an interval [a,b], so that a and b become the main parameters of the distribution (often one simply considers the interval [1,n] with the single parameter n). With these conventions, the cumulative distribution function (CDF) of the discrete uniform distribution can be expressed, for any k ∈ [a,b], as
YouTube Encyclopedic

1/5Views:62 9491 50521 4145 7311 620

✪ Discrete uniform distribution

✪ 3.7.1. Discrete Uniform Probability Distribution

✪ Discrete Random Variables 4) Discrete Uniform Distribution

✪ Discrete Uniform Distributions

✪ Discrete uniform distribution
Transcription
Contents
Estimation of maximum
This example is described by saying that a sample of k observations is obtained from a uniform distribution on the integers , with the problem being to estimate the unknown maximum N. This problem is commonly known as the German tank problem, following the application of maximum estimation to estimates of German tank production during World War II.
The uniformly minimum variance unbiased (UMVU) estimator for the maximum is given by
where m is the sample maximum and k is the sample size, sampling without replacement.^{[1]} This can be seen as a very simple case of maximum spacing estimation.
This has a variance of^{[1]}
so a standard deviation of approximately , the (population) average size of a gap between samples; compare above.
The sample maximum is the maximum likelihood estimator for the population maximum, but, as discussed above, it is biased.
If samples are not numbered but are recognizable or markable, one can instead estimate population size via the capturerecapture method.
Derivation
For any integer m such that k ≤ m ≤ N, the probability that the sample maximum will be equal to m can be computed as follows. The number of different groups of k tanks that can be made from a total of N tanks is given by the binomial coefficient . Since in this way of counting the permutations of tanks are counted only once, we can order the serial numbers and take note of the maximum of each sample. To compute the probability we have to count the number of ordered samples that can be formed with the last element equal to m and all the other k1 tanks less or equal to m1. The number of samples of k1 tanks that can be made from a total m1 tanks is given by the binomial coefficient , so the probability of having a maximum m is .
Given the total number N and the sample size k, the expected value of the sample maximum is
where the hockeystick identity was used.
From this equation, the unknown quantity N can be expressed in terms of expectation and sample size as
By linearity of the expectation, it is obtained that
and so an unbiased estimator of N is obtained by replacing the expectation with the observation,
Besides being unbiased this estimator also attains minimum variance. To show this, first note that the sample maximum is a sufficient statistic for the population maximum since the probability P(m;N) is expressed as a function of m alone. Next it must be shown that the statistics m is also a complete statistic, a special kind of sufficient statistics (demonstration pending). Then the Lehmann–Scheffé theorem implies that is the minimumvariance unbiased estimator of N.^{[2]}
The variance of the estimator is calculated from the variance of the sample maximum
The variance of the maximum is in turn calculated from the expected values of and . The calculation of the expected value of is,
where the second term is the expected value of . The first term can be expressed in terms of k and N,
where the replacement was made and the hockeystick identity used. Replacing this result and the expectation of in the equation of ,
The variance of is then obtained,
Finally the variance of the estimator can be calculated,
Random permutation
See rencontres numbers for an account of the probability distribution of the number of fixed points of a uniformly distributed random permutation.
Properties
The family of uniform distributions (with one or both bounds unknown) has a finitedimensional sufficient statistic, namely the triple of the sample maximum, sample minimum, and sample size, but is not an exponential family of distributions, since the support varies with the parameters. For families whose support does not depend on the parameters, the Pitman–Koopman–Darmois theorem states that only exponential families have a sufficient statistic whose dimension is bounded as sample size increases. The uniform distribution is thus a simple example showing the limit of this theorem.
See also
References
 ^ ^{a} ^{b} Johnson, Roger (1994), "Estimating the Size of a Population", Teaching Statistics, 16 (2 (Summer)), doi:10.1111/j.14679639.1994.tb00688.x
 ^ G. A. Young and R. L Smith (2005) Essentials of Statistical Inference, Cambridge University Press, Cambridge, UK, p. 95