Difference between revisions of "Documentation/How Tos/Calc: CHIDIST function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
Line 20: Line 20:
  
 
=== Example: ===
 
=== Example: ===
<tt>'''CHDIST(2; 3)'''</tt>
+
<tt>'''CHIDIST(2; 3)'''</tt>
 
: returns approximately 0.5724.
 
: returns approximately 0.5724.
  

Revision as of 11:18, 4 May 2009


CHIDIST

Calculates values for a χ2-distribution.

Syntax:

CHIDIST(x; k)

k is the (positive integer) degrees of freedom for the χ2-distribution.
x is a number >=0.
CHIDIST returns the right tail probability for the χ2-distribution:
Calc chidist equation.png

Issues:

  • The draft international standard ODFF calls this function LEGACY.CHIDIST, and defines a new CHISQDIST function. * CHISQDIST is expected for OOo 3.1
  • The draft international standard ODFF has no restriction for x, but defines that LEGACY.CHIDIST returns 1 for x ≤ 0.


Example:

CHIDIST(2; 3)

returns approximately 0.5724.

Template:Documentation/SeeAlso

Personal tools