TX Sheet Control

CHITEST Function

Function

Return the p-value of a chi-squared test of independence. actual_range holds the observed frequencies and expected_range the expected frequencies, with the same number of rows and columns. The result is the probability that the observed values differ from the expected ones by chance alone, so a small value indicates a significant difference. Ranges of different sizes return #N/A, and an expected value of 0 returns #DIV/0!. CHITEST is the compatibility version of CHISQ.TEST.

Syntax

CHITEST(actual_range, expected_range)

Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=CHITEST({10,20;20,10},{15,15;15,15})

The formula returns 0.0098, the probability of a chi-squared value of 6.67 with one degree of freedom.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also