Next: Hypergeometric Random Variable, Previous: Geometric Random Variable, Up: Functions and Variables for discrete distributions [Contents][Index]
The Discrete uniform distribution is a discrete probablity
distribution where a finite number of values are equally likely to
occur. The values are
For example throwing a fair die of 6 sides numbered 1 through 6
follows a
Returns the value at x of the probability function of a
load("distrib")
.
The pdf is
Returns the value at x of the distribution function of a
load("distrib")
.
The cdf is
Returns the q-quantile of a
cdf_discrete_uniform
. Argument q must be an element of load("distrib")
.
Returns the mean of a
load("distrib")
.
The mean is
Returns the variance of a
load("distrib")
.
The variance is
Returns the standard deviation of a
load("distrib")
.
The standard deviation is
Returns the skewness coefficient of a
load("distrib")
.
The skewness coefficient is
Returns the kurtosis coefficient of a
load("distrib")
.
The kurtosis coefficient is
Returns a
random_discrete_uniform
with a second argument m, a random sample of size m will be simulated.
This is a direct application of the random
built-in Maxima function.
See also random
. To make use of this function, write first load("distrib")
.