TI Instructions: Test of Independence Using Technology
Next use your TI Calculator to calculate the expected counts:
Chi-square test for independence
- Enter the data in Matrix A:
- Press
MATRIX (2ND/x-1
on TI 84; MATRIX
button on old TI83) - You should see:

- Press the right arrow twice to choose
EDIT
. - Choose 1:[A].
- You should see:

- NOTE: Your screen may be different if another matrix was previously entered in [A].
- You need to enter: number of rows X number of columns.
- The rows entry will be highlighted. Enter the number of categories for the explanatory variable.
- Use the right arrow (or
ENTER
) to move to the columns entry. - Note that the correct number of rows is now displayed.
- Enter the number of categories for the response variable.
- Use the down arrow (or
ENTER
) to move to the entry for the first row, first column. - Note that the correct number of columns is now displayed.
- Enter counts (no totals) from your two-way table.
- You should see:

- Choose
STAT/TESTS/C: X2-Test
. - Enter the correct matrix for the observed values (the values you just entered from the two-way table) and any matrix for the expected values calculated by the TI.
- Note:You can always use the default values of [A] for observed and [B] for expected.
- To use matrices other than [A] or [B], position the cursor to the right of observed: (or expected) and press
MATRIX/NAMES/
choose a matrix name. - You should see:

- Choose
Calculate
, then ENTER
. - You should see:

- Note: degrees of freedom df = (number of rows - 1)(number of columns - 1)
- To see the expected values calculated by your TI:
- Choose
MATRIX (2ND/x-1
on TI 84; MATRIX
button on old TI83) - You should see:

- Press the right arrow twice to choose
EDIT
. - Choose 2:[B].