Difference between revisions of "Erlang Command"
From GeoGebra Manual
m (removed extra CAS syntax) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|probability}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|probability}} | ||
− | ;Erlang | + | ;Erlang( <Shape>, <Rate>, x ) |
:Creates probability density function (pdf) of [[w:Erlang distribution|Erlang distribution]] with parameters shape ''k'' and rate ''λ''. | :Creates probability density function (pdf) of [[w:Erlang distribution|Erlang distribution]] with parameters shape ''k'' and rate ''λ''. | ||
− | ;Erlang | + | ;Erlang( <Shape>, <Rate>, x, <Boolean Cumulative> ) |
:If ''Cumulative'' is true, creates cumulative distribution function of Erlang distribution, otherwise creates pdf of Erlang distribution. | :If ''Cumulative'' is true, creates cumulative distribution function of Erlang distribution, otherwise creates pdf of Erlang distribution. | ||
− | ;Erlang | + | ;Erlang( <Shape>, <Rate>, <Variable Value> ): Calculates the value of cumulative distribution function of Erlang distribution at variable value ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Erlang distribution given by parameters shape ''k'' and rate ''λ''. |
:{{Note| Returns the probability for a given ''x''-coordinate's value (or area under the Erlang distribution curve to the left of the given ''x''-coordinate).}} | :{{Note| Returns the probability for a given ''x''-coordinate's value (or area under the Erlang distribution curve to the left of the given ''x''-coordinate).}} |
Revision as of 16:15, 7 October 2017
- Erlang( <Shape>, <Rate>, x )
- Creates probability density function (pdf) of Erlang distribution with parameters shape k and rate λ.
- Erlang( <Shape>, <Rate>, x, <Boolean Cumulative> )
- If Cumulative is true, creates cumulative distribution function of Erlang distribution, otherwise creates pdf of Erlang distribution.
- Erlang( <Shape>, <Rate>, <Variable Value> )
- Calculates the value of cumulative distribution function of Erlang distribution at variable value v, i.e. the probability P(X ≤ v) where X is a random variable with Erlang distribution given by parameters shape k and rate λ.
- Note: Returns the probability for a given x-coordinate's value (or area under the Erlang distribution curve to the left of the given x-coordinate).