DiscreteUniformRandomVariable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

DiscreteUniformRandomVariable

  

discrete uniform random variable

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

DiscreteUniformRandomVariable(a, b)

Parameters

a

-

lower bound parameter

b

-

upper bound parameter

Description

• 

The discrete uniform random variable is a discrete probability random variable with probability function given by:

ft=0t<a1ba+1tb0otherwise

  

subject to the following conditions:

a<b

Examples

withStudentStatistics&colon;

XDiscreteUniformRandomVariablea&comma;b&colon;

ProbabilityFunctionX&comma;u

0u<a1ba+1ub0otherwise

(1)

ProbabilityFunctionX&comma;4

04<a1ba+14b0otherwise

(2)

MeanX

a2+b2

(3)

VarianceX

a212+b212+b6ab6a6

(4)

YDiscreteUniformRandomVariable1&comma;20&colon;

ProbabilityFunctionY&comma;x&comma;output=plot

CDFY&comma;x

0x<1x20x201otherwise

(5)

CDFY&comma;12&comma;output=plot

References

  

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.

Compatibility

• 

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]

Student[Statistics][RandomVariable]