UniformRandomVariable - 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]

  

UniformRandomVariable

  

uniform (rectangular) random variable

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

UniformRandomVariable(a, b)

Parameters

a

-

lower bound parameter

b

-

upper bound parameter

Description

• 

The uniform distribution is a continuous probability random variable with probability density function given by:

ft=0t<a1bat<b0otherwise

  

subject to the following conditions:

a<b

• 

The uniform variate is related to the unit parameter Beta variate by Uniform(0,1) ~ Beta(1,1).

Examples

withStudentStatistics&colon;

XUniformRandomVariablea&comma;b&colon;

PDFX&comma;u

0u<a1bau<b0otherwise

(1)

PDFX&comma;0.5

0.0.5<a1b1.a0.5<b0.otherwise

(2)

MeanX

a2+b2

(3)

VarianceX

ba212

(4)

YUniformRandomVariable1&comma;1&colon;

PDFY&comma;x&comma;output=plot

CDFY&comma;x

0x<−1x2+12x<11otherwise

(5)

CDFY&comma;0.5&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][UniformRandomVariable] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Statistics[Distributions][Uniform]

Student

Student[Statistics]

Student[Statistics][RandomVariable]