Difference between revisions of "Cauchy Command"

From GeoGebra Manual
Jump to: navigation, search
m
(pdf -> cdf)
 
(3 intermediate revisions by 3 users not shown)
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}}
+
;Cauchy( <Median>, <Scale>, x )
;Cauchy[ <Median>, <Scale>, x ]
+
:Creates cumulative density function (cdf) of [[w:Cauchy distribution|Cauchy distribution]].
:Creates probability density function (pdf) of [[w:Cauchy distribution|Cauchy distribution]].
+
;Cauchy( <Median>, <Scale>, x, <Boolean Cumulative>)
;Cauchy[ <Median>, <Scale>, x, <Boolean Cumulative>]
 
 
:If ''Cumulative'' is true, creates cumulative distribution function of Cauchy distribution, otherwise creates pdf of Cauchy distribution.
 
:If ''Cumulative'' is true, creates cumulative distribution function of Cauchy distribution, otherwise creates pdf of Cauchy distribution.
;Cauchy[ <Median>, <Scale>,  <Variable Value> ]
+
;Cauchy( <Median>, <Scale>,  <Variable Value> )
 
:Calculates the value of cumulative distribution function of Cauchy distribution at ''Variable Value'' ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Cauchy given by parameters ''Median'' and  ''Scale''.
 
:Calculates the value of cumulative distribution function of Cauchy distribution at ''Variable Value'' ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Cauchy given by parameters ''Median'' and  ''Scale''.
 
:{{note| Returns the probability for a given ''x''-coordinate's value (or area under the Cauchy 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 Cauchy distribution curve to the left of the given ''x''-coordinate).}}
==CAS Syntax==
+
 
;Cauchy[ <Median>, <Scale>,  <Variable Value> ]
+
:{{example| 1=<code><nowiki>Cauchy(1, 2, 3)</nowiki></code> yields ''0.75'' in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]] and ''<math>\frac{3}{4}</math>'' in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]].}}
:Calculates the value of cumulative distribution function of Cauchy distribution at ''Variable Value'' ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Cauchy given by parameters ''Median'' and  ''Scale''.
 
:{{example| 1=<div><code><nowiki>Cauchy[1, 2, 3]</nowiki></code> yields ''<math>\frac{3}{4}</math>''.</div>}}
 

Latest revision as of 11:15, 30 July 2019


Cauchy( <Median>, <Scale>, x )
Creates cumulative density function (cdf) of Cauchy distribution.
Cauchy( <Median>, <Scale>, x, <Boolean Cumulative>)
If Cumulative is true, creates cumulative distribution function of Cauchy distribution, otherwise creates pdf of Cauchy distribution.
Cauchy( <Median>, <Scale>, <Variable Value> )
Calculates the value of cumulative distribution function of Cauchy distribution at Variable Value v, i.e. the probability P(X ≤ v) where X is a random variable with Cauchy given by parameters Median and Scale.
Note: Returns the probability for a given x-coordinate's value (or area under the Cauchy distribution curve to the left of the given x-coordinate).
Example: Cauchy(1, 2, 3) yields 0.75 in the Menu view algebra.svg Algebra View and \frac{3}{4} in the Menu view cas.svg CAS View.
© 2024 International GeoGebra Institute