TI - Chi-square Test
State your hypotheses:
H₀: no association …
H₁: some association …
You are presented with a table of observed values, for example:
H₀: no association …
H₁: some association …
You are presented with a table of observed values, for example:
Start up a New Document on the TI, and create a matrix with number of rows and columns equal to those of the observed values, e.g. for above table 2x2 matrix. Input the observed values and STO the matrix to a letter (press enter).
Then; Menu -> Statistics (6) -> Stat Tests (7) -> X² 2-way Test (8)
Input the STO letter into the ‘Observed Matrix’ screen, and press OK.
Input the STO letter into the ‘Observed Matrix’ screen, and press OK.
It will bring up the following screen, with the Test Statistic (X²) i.e. the sum of the contributions. It also has the PVal (unnecessary at S2), the degrees of freedom (v or df).
To bring up the expected values (E); Var -> stat.expmatrix
Once it brings up the command code in the calculator, press enter – it gives the expected values in a matrix.
Once it brings up the command code in the calculator, press enter – it gives the expected values in a matrix.
To bring up the contributions [(O-E)2/E]; Var -> stat.compmatrix
Once it brings up the command code in the calculator, press enter – it gives the contributions in a matrix.
Once it brings up the command code in the calculator, press enter – it gives the contributions in a matrix.
Find the appropriate critical value at the question’s significance level and your v or df (in above example, 1) and conclude the test.