Difference between revisions of "RandomPoisson Command"
From GeoGebra Manual
m (removed CAS syntax) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | ||
− | ;RandomPoisson | + | ;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=<div><code><nowiki>RandomPoisson[3]</nowiki></code> yields a random value from a Poisson distribution with a mean of ''3''.</div>}} | :{{example| 1=<div><code><nowiki>RandomPoisson[3]</nowiki></code> yields a random value from a Poisson distribution with a mean of ''3''.</div>}} | ||
{{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]].}} |
Revision as of 17:15, 7 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.