Difference between revisions of "User:Regina"

From Apache OpenOffice Wiki
Jump to: navigation, search
(draft)
(Formulas)
Line 27: Line 27:
 
<tt>'''CHISQDIST(x; k; FALSE())'''</tt> returns the probability density function for the &chi;<sup>2</sup>-distribution:
 
<tt>'''CHISQDIST(x; k; FALSE())'''</tt> returns the probability density function for the &chi;<sup>2</sup>-distribution:
  
:<math> 0 \; \mbox{if }x < 0 </math>
+
:<math> 0 \quad \textrm{for}\; x < 0 </math>
 
+
and
:<math>  \frac {x^{\frac k 2 -1}\,e^{- \frac x 2}} {2^{\frac k 2}\,\Gamma(\frac k 2) } \; \mbox{if }x \ge 0 </math>
+
:<math>  \frac {x^{\frac k 2 -1}\,\mathrm e^{- \frac x 2}} {2^{\frac k 2}\,\Gamma(\frac k 2) } \quad \textrm{for}\; x \ge 0 </math>
  
 
<tt>'''CHISQDIST(x; df; TRUE())'''</tt> returns the left tail probability for the &chi;<sup>2</sup>-distribution:
 
<tt>'''CHISQDIST(x; df; TRUE())'''</tt> returns the left tail probability for the &chi;<sup>2</sup>-distribution:
:<math>0</math> for <math>x<0</math>
+
:<math>0\quad \textrm{for}\; x<0</math>
 
and
 
and
:<math> \int_x^{\infty} \frac {t^{\frac k 2 -1}\,e^{- \frac t 2}} {2^{\frac k 2}\,\Gamma(\frac k 2) }\,dt</math> for <math>x \ge 0</math>
+
:<math> \int_x^{\infty} \frac {t^{\frac k 2 -1}\,\mathrm e^{- \frac t 2}} {2^{\frac k 2}\,\Gamma(\frac k 2) }\,\mathrm d t \quad \textrm{for}\; x \ge 0</math>
  
 
=== Example ===
 
=== Example ===

Revision as of 15:39, 27 September 2008

native language
German
active in project
de, qa. sc
OOo user name
regina
special interest
www.ooowiki.de


Anleitung

Sandbox

CHISQDIST

Calculates values for a χ2-distribution.

Syntax

CHISQDIST(x; k; Cumulative)

x is a number.
k is the (positive integer) degrees of freedom for the χ2-distribution.
Cumulative is a logical value. In the case Cumulative=TRUE() the cumulative distribution function is used, in the case Cumulative=FALSE() the probability density function. This parameter is optional. It is set to TRUE() if missing.

Formulas

CHISQDIST(x; k; FALSE()) returns the probability density function for the χ2-distribution:

and

CHISQDIST(x; df; TRUE()) returns the left tail probability for the χ2-distribution:

and

Example

CHSQDIST(2.7; 3;FALSE())

returns approximately 0.1699395239

CHSQDIST(2.7; 3;TRUE())

returns approximately 0.5597727056

.

See also:

CHISQINV, LEGACY.CHIDIST, LEGACY.CHIINV, CHITEST

Statistical functions

Functions listed alphabetically, Functions listed by category

Issues:

This function is expected for OOo3.1

Personal tools