Student[Statistics]
HypergeometricRandomVariable
hypergeometric random variable
Calling Sequence
Parameters
Description
Notes
Examples
References
Compatibility
HypergeometricRandomVariable(M, X, m)
M
-
population size
X
number of successes in population
m
number of trials from population
The hypergeometric random variable is a discrete probability random variable with probability function given by:
f⁡t=0t<00X<tXt⁢M−Xm−tMmotherwise
subject to the following conditions:
0≤M,m≤M,X≤M,0≤m,0≤X,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.
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.
with⁡StudentStatistics:
X≔HypergeometricRandomVariable⁡5,z,m:
ProbabilityFunction⁡X,u
0u<00z<uzu⁢5−zm−u5motherwise
ProbabilityFunction⁡X,2
0z<2z2⁢5−zm−25motherwise
Mean⁡X
m⁢z5
Variance⁡X
m⁢z⁢1−z5⁢5−m20
Y≔HypergeometricRandomVariable⁡10,3,7:
ProbabilityFunction⁡Y,x,output=plot
CDF⁡Y,x
1
CDF⁡Y,3,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][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][RandomVariable]
Download Help Document