5.1 Contingency Tables

To discover whether some hosts yield more buyers than others, we have to consider the categorical variable that identifies those visits that result in a sale. Figure 5.1 shows bar charts of that variable and the referring host.

Two bar charts

Figure 5.1 Bar charts of hosts and purchase actions.

The categorical variable Host identifies the referring Web site. The categorical variable Purchase indicates whether the session produced a sale. There’s precious little variation in Purchase. Only 1,065 visits, about 3.6%, result in a purchase. If all of these sales came from one of these three hosts, Amazon would know where to place its ads. ...

Get Statistics for Business: Decision Making and Analysis, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.