Difference between revisions of "Erlang Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision: last commands)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|probability}}
 
{{command|probability}}
;Erlang[ <Shape>, <Rate>, x ]
+
;Erlang[ <Shape k>, <Rate λ>, <Mode mod>, x ]
:{{description}}
+
:Creates probability density function (pdf) of [[w:Erlang distribution|Erlang distribution]] with parameters ''k, λ''.
;Erlang[ <Shape>, <Rate>, x, <Boolean Cumulative> ]
+
;Erlang[ <Shape k>, <Rate λ>, x, <Boolean Cumulative> ]
:{{description}}
+
:If ''Cumulative'' is true, creates cumulative density function of Erlang distribution, otherwise creates pdf of Erlang distribution.
;Erlang[ <Shape>, <Rate>, <Variable Value> ]
+
;Erlang[ <Shape k>, <Rate λ>, <Variable Value v> ]: Calculates the value of cumulative distribution function of Erlang distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with Erlang distribution given by parameters ''k, λ''.
:{{description}}
+
:{{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).}}
 +
==CAS Syntaxes==
 +
In [[CAS View]] only following syntax is supported:
 +
;Erlang[ <Shape k>, <Rate λ>, <Variable Value v>]
 +
:Calculates the value of cumulative distribution function of Erlang distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with Erlang distribution given by parameters ''k, λ''.

Revision as of 14:54, 21 July 2011



Erlang[ <Shape k>, <Rate λ>, <Mode mod>, x ]
Creates probability density function (pdf) of Erlang distribution with parameters k, λ.
Erlang[ <Shape k>, <Rate λ>, x, <Boolean Cumulative> ]
If Cumulative is true, creates cumulative density function of Erlang distribution, otherwise creates pdf of Erlang distribution.
Erlang[ <Shape k>, <Rate λ>, <Variable Value v> ]
Calculates the value of cumulative distribution function of Erlang distribution at v, i.e. the probability P(X≤v) where X is a random variable with Erlang distribution given by parameters k, λ.
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).

CAS Syntaxes

In CAS View only following syntax is supported:

Erlang[ <Shape k>, <Rate λ>, <Variable Value v>]
Calculates the value of cumulative distribution function of Erlang distribution at v, i.e. the probability P(X≤v) where X is a random variable with Erlang distribution given by parameters k, λ.
© 2024 International GeoGebra Institute