O'Reilly logo

Microsoft® Excel® 2010 Formulas & Functions Inside Out by Helmut Reinke Egbert Jeschke Sara Unverhau, Eckehard Pfeifer, Bodo Fienitz, and Jens Bock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHISQ.TEST()/CHITEST()

Syntax. CHISQ.TEST(actual_range,expected_range)

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.

Arguments

  • actual_range (required). The range of data that contains observations to test against expected values

  • expected_range (required). The range of expected observations

Note

If actual_range and expected_range have a different number of data points, the function CHISQ.TEST() returns the #N/A error.

The c2-test first calculates a c2-statistic by using the following formula:

where

  • Aij = actual frequency ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required