Chi-square and Contingency Table

Overview  |  How to  |  Data  |  Example

 

 

 

 

Overview

 

The c2 procedure tests if there is association between the classification of one variable and the classification of another variable.

 

 

 

 

 

How to

 

1.       Choose ProcessMA > Basic Statistics > Chi-square and Contingency Table.

 

2.       In Columns containing table, select the columns containing the contingency table data.

 

 

Note       To select a column of data into a textbox, double-click on any of the column names shown in the list on the left of the dialog box while in the textbox.

 

 

 

 

Data

 

Columns containing table: Numeric; Columns must have the same number of data points

 

 

 

 

 

Example

 

You want to find out if there is a connection between age group and flavours of biscuits they like.  You surveyed 200 people and recorded the number of people that chose the different flavours they like.    

 

1.       Open worksheet ProcessMA > Tools > Data Files > Stat.xls.

 

2.       Choose ProcessMA > Basic Statistics > Chi-square and Contingency Table.

 

3.       In Columns containing table, select F – Chocolate, G – Strawberry, H – Vanilla.

 

4.       Click OK.

 

 

 

 

Interpretation

 

For a desired a = 0.05, since p = 0. 4384 > a, we fail to reject H0.  Therefore, we conclude that there is no significant evidence that age and their liking for different flavours of biscuits are related.