Difference between revisions of "RandomPoisson Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
(command syntax: changed [ ] into ( )) |
||
Line 2: | Line 2: | ||
;RandomPoisson( <Mean> ) | ;RandomPoisson( <Mean> ) | ||
:Generates a random number from a Poisson distribution with given mean. | :Generates a random number from a Poisson distribution with given mean. | ||
− | :{{example| 1= | + | :{{example| 1=<code><nowiki>RandomPoisson(3)</nowiki></code> yields a random value from a Poisson distribution with a mean of ''3''.}} |
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomUniform Command|RandomUniform command]].}} | {{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomUniform Command|RandomUniform command]].}} |
Latest revision as of 10:22, 11 October 2017
- RandomPoisson( <Mean> )
- Generates a random number from a Poisson distribution with given mean.
- Example:
RandomPoisson(3)
yields a random value from a Poisson distribution with a mean of 3.