Difference between revisions of "ChiSquared Command"

From GeoGebra Manual
Jump to: navigation, search
m (removed extra CAS syntax)
(pdf -> cdf)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}}
;ChiSquared[ <Degrees of Freedom>, x ]
+
;ChiSquared( <Degrees of Freedom>, x )
:Creates probability density function (pdf) of [[w:Chi-square distribution|Chi squared distribution]] with the appropriate degrees of freedom.
+
:Creates cumulative density function (cdf) of [[w:Chi-square distribution|Chi squared distribution]] with the appropriate degrees of freedom.
;ChiSquared[ <Degrees of Freedom>, x, <Boolean Cumulative> ]
+
;ChiSquared( <Degrees of Freedom>, x, <Boolean Cumulative> )
 
:If the logical value is ''true'', creates cumulative distribution function of Chi squared distribution, otherwise creates pdf of Chi squared distribution.
 
:If the logical value is ''true'', creates cumulative distribution function of Chi squared distribution, otherwise creates pdf of Chi squared distribution.
;ChiSquared[ <Degrees of Freedom>, <Variable Value> ]
+
;ChiSquared( <Degrees of Freedom>, <Variable Value> )
 
:Calculates the value of cumulative distribution function of Chi squared distribution at ''Variable Value'' ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Chi squared distribution with the appropriate degrees of freedom.
 
:Calculates the value of cumulative distribution function of Chi squared distribution at ''Variable Value'' ''v'', i.e. the probability ''P(X ≤ v)'' where ''X'' is a random variable with Chi squared distribution with the appropriate degrees of freedom.
 
:{{note| Returns the probability for a given ''x''-coordinate's value (or area under the Chi squared 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 Chi squared distribution curve to the left of the given ''x''-coordinate).}}
:{{example|1=<div><code><nowiki>ChiSquared[4, 3]</nowiki></code> yields <math>\gamma(2, \frac{3}{2})</math>, which is approximately ''0.44''.</div>}}
+
:{{example|1=<code><nowiki>ChiSquared(4, 3)</nowiki></code> yields <math>\gamma(2, \frac{3}{2})</math>, which is approximately ''0.44''.}}

Latest revision as of 11:15, 30 July 2019


ChiSquared( <Degrees of Freedom>, x )
Creates cumulative density function (cdf) of Chi squared distribution with the appropriate degrees of freedom.
ChiSquared( <Degrees of Freedom>, x, <Boolean Cumulative> )
If the logical value is true, creates cumulative distribution function of Chi squared distribution, otherwise creates pdf of Chi squared distribution.
ChiSquared( <Degrees of Freedom>, <Variable Value> )
Calculates the value of cumulative distribution function of Chi squared distribution at Variable Value v, i.e. the probability P(X ≤ v) where X is a random variable with Chi squared distribution with the appropriate degrees of freedom.
Note: Returns the probability for a given x-coordinate's value (or area under the Chi squared distribution curve to the left of the given x-coordinate).
Example: ChiSquared(4, 3) yields \gamma(2, \frac{3}{2}), which is approximately 0.44.
© 2024 International GeoGebra Institute