BUILT-IN MATHEMATICA SYMBOL

# DiscreteUniformDistribution

DiscreteUniformDistribution[{imin, imax}]
represents a discrete uniform distribution over the integers from to .

DiscreteUniformDistribution[{{imin, imax}, {jmin, jmax}, ...}]
represents a multivariate discrete uniform distribution over integers within the box .

## ExamplesExamplesopen allclose all

### Basic Examples (8)Basic Examples (8)

Probability density function of a univariate discrete uniform distribution:

 Out[1]=
 Out[2]=

Cumulative distribution function of a univariate discrete uniform distribution:

 Out[1]=
 Out[2]=

Mean and variance of a univariate discrete uniform distribution:

 Out[1]=
 Out[2]=

Median of a univariate discrete uniform distribution:

 Out[1]=

Probability density function of a bivariate discrete uniform distribution:

 Out[1]=
 Out[2]=

Cumulative distribution function of a bivariate discrete uniform distribution:

 Out[1]=
 Out[2]=

Mean and variance of a bivariate case:

 Out[1]=
 Out[2]=

Covariance:

 Out[1]//MatrixForm=