Topic 6: B – Two-Way (Contingency) Tables – Inference
CO-7: Use statistical software to analyze public health data.
Video (9:19)
The following video illustrates inference in Case CC where we are investigating the association between two categorical variables using two-way tables (contingency tables). In SPSS we will use CROSSTABS. We illustrate adding row percentages to the default table output and go through how to select the Chi-square test and Fisher’s Exact test. The following files are associated with this video.
- DATASET USED:
- SPSS OUTPUT CREATED:
- Menus and Steps Used:
- Double-click on the SPSS dataset (STEP6) to open SPSS with that data loaded
- ANALYZE – DESCRIPTIVE STATISTICS – CROSSTABS
- Drag categorical variables into the row and column areas
- Under Exact (if you have this option) choose the Exact option to obtain Fisher’s Exact test
- Under Statistics choose Chi-Square test.
- Select expected and any additional conditional percentages in the CELLS options by choose row percentages or column percentages (or both)
- Click OK
- Save SPSS output by going to the output and File – Save or by closing SPSS and following the prompts
This document is linked from our main SPSS page under Software.