HyperGeometric Command

From GeoGebra Manual
Jump to: navigation, search



HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>]
Returns a bar graph of a Hypergeometric distribution.
Parameters:
Population size: number of balls in the urn
Number of Successes: number of white balls in the urn
Sample Size: number of balls drawn from the urn

The bar graph shows the probability function of the number of white balls in the sample.

HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>, <Boolean Cumulative> ]
Returns a bar graph of a Hypergeometric distribution when Cumulative = false.
Returns a bar graph of a cumulative Hypergeometric distribution when Cumulative = true.
First three parameters are same as above.
HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>, <Variable Value v>, <Boolean Cumulative> ]
Let X be a Hypergeometric random variable.
Returns P( X = v) when Cumulative = false.
Returns P( X ≤ v) when Cumulative = true.
First three parameters are same as above.

CAS Syntax

In CAS View only one syntax is allowed:

HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>, <Variable Value v>, <Boolean Cumulative> ]
Let X be a Hypergeometric random variable.
Returns P( X = v) when Cumulative = false.
Returns P( X ≤ v) when Cumulative = true.

First three parameters are same as above.

© 2024 International GeoGebra Institute