Difference between revisions of "Poisson Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (removed extra CAS syntax)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}}
{{command|cas=true|probability}}
 
 
;Poisson[ <Mean> ]
 
;Poisson[ <Mean> ]
 
:Returns a bar graph of a [[w:Poisson distribution|Poisson distribution]] with given mean ''λ''.
 
:Returns a bar graph of a [[w:Poisson distribution|Poisson distribution]] with given mean ''λ''.
Line 7: Line 6:
 
:Returns a graph of a cumulative Poisson distribution when ''Cumulative = true''.
 
:Returns a graph of a cumulative Poisson distribution when ''Cumulative = true''.
 
:The first parameter is same as above.
 
:The first parameter is same as above.
;Poisson[ <Mean>, <Variable Value v>, <Boolean Cumulative> ]
 
:Let X be a Poisson random variable.
 
:Returns P( X = ''v'') when ''Cumulative'' = false. 
 
:Returns P( X ≤ ''v'') when ''Cumulative'' = true.
 
:First parameter is same as above.
 
==CAS Syntax==
 
 
;Poisson[ <Mean>, <Variable Value v>, <Boolean Cumulative> ]
 
;Poisson[ <Mean>, <Variable Value v>, <Boolean Cumulative> ]
 
:Let X be a Poisson random variable.
 
:Let X be a Poisson random variable.
Line 20: Line 13:
  
 
:{{examples|1=<div>
 
:{{examples|1=<div>
:*<code><nowiki>Poisson[3, 1, true]</nowiki></code> yields '' <math>\frac{4}{e³}</math>''.
+
:*<code><nowiki>Poisson[3, 1, true]</nowiki></code> yields ''0.2'' in the [[File:Menu view algebra.svg|link=|16px]] ''Algebra View'' and '' <math>\frac{4}{e³}</math> in the [[File:Menu view cas.svg|link=|16px]] ''CAS View''.
:*<code><nowiki>Poisson[3, 1, false]</nowiki></code> yields '' <math>\frac{3}{e³}</math>''.</div>}}
+
:*<code><nowiki>Poisson[3, 1, false]</nowiki></code> yields ''0.15'' in the [[File:Menu view algebra.svg|link=|16px]] ''Algebra View'' and '' <math>\frac{3}{e³}</math>'' in the [[File:Menu view cas.svg|link=|16px]] ''CAS View''.</div>}}

Revision as of 09:56, 3 September 2015


Poisson[ <Mean> ]
Returns a bar graph of a Poisson distribution with given mean λ.
Poisson[ <Mean>, <Boolean Cumulative> ]
Returns a bar graph of a Poisson distribution when Cumulative = false.
Returns a graph of a cumulative Poisson distribution when Cumulative = true.
The first parameter is same as above.
Poisson[ <Mean>, <Variable Value v>, <Boolean Cumulative> ]
Let X be a Poisson random variable.
Returns P( X = v) when Cumulative = false.
Returns P( X ≤ v) when Cumulative = true.
First parameter is same as above.
Examples:
  • Poisson[3, 1, true] yields 0.2 in the Menu view algebra.svg Algebra View and \frac{4}{e³} in the Menu view cas.svg CAS View.
  • Poisson[3, 1, false] yields 0.15 in the Menu view algebra.svg Algebra View and \frac{3}{e³} in the Menu view cas.svg CAS View.
© 2021 International GeoGebra Institute