# CHITEST

## Content

This function calculates the test for independence from the chi-squared distribution.

## Syntax

`CHITEST(obs_array, exp_array)`

## Arguments

This function has these arguments:

| Argument | Description |
| -------- | ----------- |
| *obs\_array* | [Required] Array of observed values to test against expected values |
| *exp\_array* | [Required] Array of expected values against which to test observed values |

The arrays in the arguments must be of the same size.

## Examples

`CHITEST(B1:C8,B12:C19)`
`CHITEST(R1C2:R8C3,R12C2:R19C3)`