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

  

HypergeometricRandomVariable

  

hypergeometric random variable

 

Calling Sequence

Parameters

Description

Notes

Examples

References

Compatibility

Calling Sequence

HypergeometricRandomVariable(M, X, m)

Parameters

M

-

population size

X

-

number of successes in population

m

-

number of trials from population

Description

• 

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

ft=0t<00X<tXtMXmtMmotherwise

  

subject to the following conditions:

0M,mM,XM,0m,0X,M::,X::,m::

• 

The hypergeometric random variable is a consequence of a sequence of repeated trials (such as drawing balls from an urn) whereby items drawn are not replaced after each trial.  In each trial, there is assumed to be a certain number of successes remaining that could be obtained.  This random variable measures the probability of achieving a certain number of successes after all trials are complete.

Notes

• 

The Quantile and CDF functions applied to a hypergeometric distribution use a sequence of iterations in order to converge upon the desired output point.  The maximum number of iterations to perform is equal to 100 by default, but this value can be changed by setting the environment variable _EnvStatisticsIterations to the desired number of iterations.

Examples

withStudentStatistics&colon;

XHypergeometricRandomVariable5&comma;z&comma;m&colon;

ProbabilityFunctionX&comma;u

0u<00z<uzu5zmu5motherwise

(1)

ProbabilityFunctionX&comma;2

0z<2z25zm25motherwise

(2)

MeanX

mz5

(3)

VarianceX

mz1z55m20

(4)

YHypergeometricRandomVariable10&comma;3&comma;7&colon;

ProbabilityFunctionY&comma;x&comma;output=plot

CDFY&comma;x

1

(5)

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

• 

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

See Also

Statistics[Distributions][Hypergeometric]

Student

Student[Statistics]

Student[Statistics][RandomVariable]