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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
Line 88: Line 88:
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
[[Category: Documentation/Reference/Calc]]
[[Category: Documentation/Reference/Calc/Statistical functions]]

Revision as of 12:00, 17 May 2010

This function is not yet implemented but expected for OpenOffice.org version 3.1.


Calculates values for a χ2-distribution.


CHISQDIST(x; k; Cumulative)

x is the number, at which you will evaluate the χ2-distribution.
k sets the degrees of freedom for the χ2-distribution
Constraint: k must be a positive integer
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.


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

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


returns approximately 0,000209862


returns approximately 0,158318385
Graphs of Chi-distribution density functions
returns approximately 0,5276334

other valid call: CHISQDIST(1.5;2)

Chi-distribution cumulative functions
returns approximately 0,73733444
Area under density function

Chi-distribution with marked point


If you need CHISQDIST(x;k;TRUE()) with a non integer parameter k, then use GAMMADIST(x;k/2;2) instead.

For to get the right tail for large values x, do not calculate 1 − CHISQDIST. It is less accurate in those cases than using CHIDIST. CHISQDIST(x;k;TRUE()) + CHIDIST(x;k) = 1.

In the density case the internal calculation uses logarithmic- and exponential function, if x >1425 or x · k > 1391000. The results are less accurate in those cases.


This function is not available in version 3.0 and earlier.


Personal tools