A Rational Econ
  • Home
  • Blog
  • Resources
    • TI-Nspire
    • Economics
    • Mathematics
  • Contact
    • Meet the Recons
  • Past Papers

TI - Chi-square Test

State your hypotheses:
 
H₀: no association …
H₁: some association …
 
You are presented with a table of observed values, for example:                          
Picture
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).
Picture
Then; Menu -> Statistics (6) -> Stat Tests (7) -> X²​ 2-way Test (8)
Input the STO letter into the ‘Observed Matrix’ screen, and press OK.
Picture
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).
Picture
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.
Picture
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.
Picture
Find the appropriate critical value at the question’s significance level and your v or df (in above example, 1) and conclude the test.
Picture

​A proud provider of notes and information
               - A Rational Econ

Copyright © 2019
  • Home
  • Blog
  • Resources
    • TI-Nspire
    • Economics
    • Mathematics
  • Contact
    • Meet the Recons
  • Past Papers