Student[Statistics]
DiscreteUniformRandomVariable
discrete uniform random variable
Calling Sequence
Parameters
Description
Examples
References
Compatibility
DiscreteUniformRandomVariable(a, b)
a
-
lower bound parameter
b
upper bound parameter
The discrete uniform random variable is a discrete probability random variable with probability function given by:
f⁡t=0t<a1b−a+1t≤b0otherwise
subject to the following conditions:
a<b
with⁡StudentStatistics:
X≔DiscreteUniformRandomVariable⁡a,b:
ProbabilityFunction⁡X,u
0u<a1b−a+1u≤b0otherwise
ProbabilityFunction⁡X,4
04<a1b−a+14≤b0otherwise
Mean⁡X
a2+b2
Variance⁡X
a212+b212+b6−a⁢b6−a6
Y≔DiscreteUniformRandomVariable⁡1,20:
ProbabilityFunction⁡Y,x,output=plot
CDF⁡Y,x
0x<1x20x≤201otherwise
CDF⁡Y,12,output=plot
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
The Student[Statistics][DiscreteUniformRandomVariable] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Statistics[Distributions][DiscreteUniform]
Student
Student[Statistics][RandomVariable]
Download Help Document