Definition. This function returns the test statistic of a χ2-test for independence. CHISQ.TEST() returns the value from the chi-squared (χ2) distribution for the statistic and the appropriate degrees of freedom. You can use c2-tests to determine whether hypothesized results are verified.
actual_range (required). The range of data that contains observations to test against expected values
expected_range (required). The range of expected observations
If actual_range and expected_range have a different number of data points, the function CHISQ.TEST() returns the
The c2-test first calculates a c2-statistic by using the following formula:
Aij = actual frequency ...