Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Statistics > Statistical Distributions > Discrete Statistical Distributions >
Mathematica > Mathematics and Algorithms > Statistics > Statistical Distributions > Discrete Statistical Distributions >

DiscreteUniformDistribution

DiscreteUniformDistribution[{imin, imax}]
represents a discrete uniform distribution over the integers from imin to imax.
  • The probability for value x in a discrete uniform distribution is constant for integers x such that i_(min)<=x<=i_(max), and is zero otherwise. »
Mean and variance of a discrete uniform distribution:
Probability density function:
Generate a set of pseudorandom numbers that have the discrete uniform distribution:
Properties based on higher-order moments:
Second moment of a discrete uniform distribution:
The 0.9 quantile of a discrete uniform distribution:
Plot the cumulative distribution function of a discrete uniform distribution:
The density functions of discrete uniform random variables are not highly concentrated about their means:
The probability of getting any real number except an integer between min and max is zero:
Moments can be obtained from the characteristic function:
DiscreteUniformDistribution is not defined when min or max is not an integer:
Substitution of invalid parameters into symbolic outputs gives results that are not meaningful:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team