hypergeometric random variable - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Statistics : Random Variable Distributions : Student/Statistics/HypergeometricRandomVariable

Student[Statistics][HypergeometricRandomVariable] - hypergeometric random variable

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&equals;piecewiset<0&comma;0&comma;X<t&comma;0&comma;binomialX&comma;tbinomialMX&comma;mtbinomialM&comma;m

  

subject to the following conditions:

0M&comma;mM&comma;XM&comma;0m&comma;0X&comma;M::integer&comma;X::integer&comma;m::integer

• 

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

withStudent&lsqb;Statistics&rsqb;&colon;

X:=HypergeometricRandomVariable5&comma;z&comma;m&colon;

ProbabilityFunctionX&comma;u

&lcub;0u<00z<ubinomialz&comma;ubinomial5z&comma;mubinomial5&comma;motherwise

(1)

ProbabilityFunctionX&comma;2

&lcub;0z<2binomialz&comma;2binomial5z&comma;m2binomial5&comma;motherwise

(2)

MeanX

15mz

(3)

VarianceX

120mz115z5m

(4)

Y:=HypergeometricRandomVariable10&comma;3&comma;7&colon;

ProbabilityFunctionY&comma;x&comma;output&equals;plot

CDFY&comma;x

i&equals;0max1&comma;floorx1120binomial3&comma;ibinomial7&comma;7i

(5)

CDFY&comma;3&comma;output&equals;plot

See Also

Statistics[Distributions][Hypergeometric], Student, Student[Statistics], Student[Statistics][RandomVariable]

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.


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam