TX Sheet Control

CHISQ.TEST Function

Function

Return the result of a chi-squared test for independence: the probability that the differences between observed and expected values are due to chance. actual_range holds the observed values and expected_range the expected values, with the same number of rows and columns; ranges of different sizes return #N/A, and an expected value of 0 returns #DIV/0!.

Syntax

CHISQ.TEST(actual_range, expected_range)

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

Available for supported offline calculation.

Examples

=CHISQ.TEST({10,20;20,10},{15,15;15,15})

The formula returns 0.0098232745: with less than 1%, the observed values are unlikely to match the expected ones by chance.

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

See Also