* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Method 2: Using contingency table cell counts . * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DATA LIST LIST /zone(f2.0) sprain(f2.0) count(f5.0) . BEGIN DATA. 1 1 2 1 2 38 2 1 5 2 2 10 END DATA. val lab zone 1 'Zone A' 2 'Zone B' / sprain 1 'Sprain' 2 'No sprain' . * Use LIST to show the structure of the data file . list all. * Only the 4 cell counts are used for this method. * We must first WEIGHT the cases by the variable COUNT. weight by count. * Then we can run CROSSTABS as before. crosstabs zone by sprain /stat=chisq. * Finished.