Difference between revisions of "Triangular Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
(pdf -> cdf) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|probability}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|probability}} | ||
;Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x ) | ;Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x ) | ||
− | :Creates | + | :Creates cumulative density function of [[w:Triangular distribution|triangular distribution]] with parameters ''lower Bound, upper Bound, Mode''. |
;Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x, <Boolean Cumulative> ) | ;Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x, <Boolean Cumulative> ) | ||
:If ''Cumulative'' is true, creates cumulative distribution function of triangular distribution, otherwise creates probability density function of triangular distribution. | :If ''Cumulative'' is true, creates cumulative distribution function of triangular distribution, otherwise creates probability density function of triangular distribution. | ||
; Triangular( <Lower Bound>, <Upper Bound>, <Mode>, <Variable Value> ): Calculates the value of cumulative distribution function of triangular distribution at ''Variable Value v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''lower Bound, upper Bound, Mode''. | ; Triangular( <Lower Bound>, <Upper Bound>, <Mode>, <Variable Value> ): Calculates the value of cumulative distribution function of triangular distribution at ''Variable Value v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''lower Bound, upper Bound, Mode''. | ||
:{{Note| Returns the probability for a given ''x''-coordinate's value (or area under the triangular 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 triangular distribution curve to the left of the given ''x''-coordinate).}} | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Triangular(0, 5, 2, 2)</nowiki></code> yields ''0.4''.}} |
Latest revision as of 11:20, 30 July 2019
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x )
- Creates cumulative density function of triangular distribution with parameters lower Bound, upper Bound, Mode.
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x, <Boolean Cumulative> )
- If Cumulative is true, creates cumulative distribution function of triangular distribution, otherwise creates probability density function of triangular distribution.
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, <Variable Value> )
- Calculates the value of cumulative distribution function of triangular distribution at Variable Value v, i.e. the probability P(X≤v) where X is a random variable with triangular distribution given by parameters lower Bound, upper Bound, Mode.
- Note: Returns the probability for a given x-coordinate's value (or area under the triangular distribution curve to the left of the given x-coordinate).
- Example:
Triangular(0, 5, 2, 2)
yields 0.4.