Difference between revisions of "HyperGeometric Command"
From GeoGebra Manual
m (two -> three) |
|||
Line 12: | Line 12: | ||
: Returns a bar graph of a Hypergeometric distribution when ''Cumulative'' = false. | : Returns a bar graph of a Hypergeometric distribution when ''Cumulative'' = false. | ||
: Returns a bar graph of a cumulative Hypergeometric distribution when ''Cumulative'' = true. | : Returns a bar graph of a cumulative Hypergeometric distribution when ''Cumulative'' = true. | ||
− | : First | + | : First three parameters are same as above. |
;HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>, <Variable Value v>, <Boolean Cumulative> ] | ;HyperGeometric[ <Population Size>, <Number of Successes>, <Sample Size>, <Variable Value v>, <Boolean Cumulative> ] | ||
Line 18: | Line 18: | ||
: Returns P( X = ''v'') when ''Cumulative'' = false. | : Returns P( X = ''v'') when ''Cumulative'' = false. | ||
: Returns P( X ≤ ''v'') when ''Cumulative'' = true. | : Returns P( X ≤ ''v'') when ''Cumulative'' = true. | ||
− | : First | + | : First three parameters are same as above. |
==CAS Specific Syntax== | ==CAS Specific Syntax== |
Revision as of 11:03, 19 July 2011
- 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 Specific 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.