that we have the conditions present to do a χ^2 -test, but this is the way we’ll find our expected values.)
Enter [A ] for Observed and [B ] for Expected (you can paste “[A ]” by entering MATRIX NAMES [A ]).
Then choose Calculate . The calculator will return some things we don’t care about yet (X 2 =
10.748, p = 0.0046, and df = 2). Now return to the MATRIX menu and select NAMES [B ] and press
ENTER . You should get the following matrix of expected values:
Note that the entry in the second row and second column, 45.925, agrees with our hand calculation for
“Exp” in the previous example.
The χ^2 -test for independence can be summarized as follows.
example: A study of 150 randomly selected cities was conducted to determine if crime rate is
associated with outdoor temperature. The results of the study are summarized in the following
table: