Difference between revisions of "Normal Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|probability}}
 
{{command|cas=true|probability}}
;Normal[ <Mean μ>, <Standard Deviation σ>, <x> ]
+
 
 +
;Normal[ <Mean>, <Standard Deviation>, x ]
 
:Creates probability density function (pdf) of [[w:Normal distribution|normal distribution]].
 
:Creates probability density function (pdf) of [[w:Normal distribution|normal distribution]].
;Normal[ <Mean μ>, <Standard Deviation σ>, <x>, <Boolean Cumulative> ]
+
 
:If ''Cumulative'' is true, creates cumulative distribution function of normal distribution, otherwise creates pdf of normal distribution.
+
;Normal[ <Mean>, <Standard Deviation>, x, <Boolean Cumulative> ]
 +
:If ''Cumulative'' is true, creates cumulative distribution function of normal distribution with mean ''μ'' and standard deviation ''σ'', otherwise creates pdf of normal distribution.
 +
 
 
;Normal[ <Mean μ>, <Standard Deviation σ>, <Variable Value v> ]
 
;Normal[ <Mean μ>, <Standard Deviation σ>, <Variable Value v> ]
:Calculates the function ''Φ((x – μ) / σ)'' at ''v'' where ''Φ'' is the cumulative distribution function for ''N(0,1)''.
+
:Calculates the function ''Φ((x – μ) / σ)'' at ''v'' where ''Φ'' is the cumulative distribution function for ''N(0,1)'' with mean ''μ'' and standard deviation ''σ''.
 
:{{note| Returns the probability for a given ''x''-coordinate's value (or area under the normal 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 normal distribution curve to the left of the given ''x''-coordinate).}}
 +
 
==CAS Syntax==
 
==CAS Syntax==
;Normal[ <Mean μ>, <Standard Deviation σ>, <Variable Value x> ]
+
;Normal[ <Mean>, <Standard Deviation>, <Variable Value> ]
:Calculates the function ''Φ((x – μ) / σ)'' where ''Φ'' is the cumulative distribution function for ''N(0,1)''.
+
:Calculates the function ''Φ((x – μ) / σ)'' where ''Φ'' is the cumulative distribution function for ''N(0,1)'' with mean ''μ'' and standard deviation ''σ''.
:{{example| 1=<div><code><nowiki>Normal[2, 0.5, 1]</nowiki></code> yields <math>\frac{\sqrt{2}&#125;{\sqrt{\pi }e²}</math>.</div>}}
+
:{{example| 1=<div><code><nowiki>Normal[2, 0.5, 1]</nowiki></code> yields <math>\frac{-erf(2/\sqrt{2})+1}{2}</math>.</div>}}

Revision as of 09:19, 10 July 2013




Normal[ <Mean>, <Standard Deviation>, x ]
Creates probability density function (pdf) of normal distribution.
Normal[ <Mean>, <Standard Deviation>, x, <Boolean Cumulative> ]
If Cumulative is true, creates cumulative distribution function of normal distribution with mean μ and standard deviation σ, otherwise creates pdf of normal distribution.
Normal[ <Mean μ>, <Standard Deviation σ>, <Variable Value v> ]
Calculates the function Φ((x – μ) / σ) at v where Φ is the cumulative distribution function for N(0,1) with mean μ and standard deviation σ.
Note: Returns the probability for a given x-coordinate's value (or area under the normal distribution curve to the left of the given x-coordinate).

CAS Syntax

Normal[ <Mean>, <Standard Deviation>, <Variable Value> ]
Calculates the function Φ((x – μ) / σ) where Φ is the cumulative distribution function for N(0,1) with mean μ and standard deviation σ.
Example:
Normal[2, 0.5, 1] yields \frac{-erf(2/\sqrt{2})+1}{2}.
© 2024 International GeoGebra Institute