There are two figures that we are interested in from these results. The first is the p-value for the Independent Chi-Square test, here showing as “0.0”. This points to our test having significance; that is, it indicates that there is a true difference in ordering habits between delivery and non-delivery orders.
The second is the array of expected values for N and Y responses. This is a wonderfully simple calculation that looks at the overall proportion of delivery vs. non-delivery orders for all menu items combined, and then applies that proportion to each menu item to calculate how many delivery vs. non-delivery orders we should expect for that item if it behaved just like the overall trend.
For instance, the first line of the array shows expected N and Y values of 289.17 (or 2.8917e+02) and 6.82, corresponding to the first menu item in the crosstab, “arroz c/ pollo.” If we view the number of actual orders from our previous crosstab, we see that there were 289 non-delivery and 7 delivery orders for this item. In other words, this particular item performs much like we would expect for delivery compared to the overall trend.
With a reported p-value of “0.0” we should expect to see some menu items significantly bucking the overall trend, so the final step was to compile these results into a more digestible format and take a closer look at the results. The table below takes the crosstab results with actual Y / N results for delivery orders and combines them with the expected Y / N figures from the Chi-Square contingency table.