# Teaching worksheet · RQ25

## Did returning visitors buy more often than new visitors?

At this shop, returning visitors accounted for more sessions with recorded revenue. Which group had the higher share of sessions with revenue? Divide each group’s revenue-positive sessions by all of its sessions.

- One record is — one recorded website session
- Period — One-year sampling period; dataset released 2018. Calendar dates unspecified.
- Scope — E-commerce website; country unspecified

## The table

Purchase in session × Visitor type

| Purchase in session | Returning visitor | New visitor |
| --- | ---: | ---: |
| Revenue recorded | 1,470 | 422 |
| No revenue recorded | 9,081 | 1,272 |

## Returning visitors account for most sessions with revenue. Does that mean they bought more often?

1. Yes, because they had more sessions with revenue.
2. Yes, because they made up most of the revenue sessions.
3. No. A smaller share of their sessions had revenue.

Choose one statement. Show the counts and denominators that justify it, then describe one limit of the comparison.

## Source

Data: C. Sakar, Yomi Kastro. Online Shoppers Purchasing Intention Dataset. UCI Machine Learning Repository. Licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Crosstabs selected, recoded and aggregated the records into this table.

- [C. Sakar, Yomi Kastro. Online Shoppers Purchasing Intention Dataset. UCI Machine Learning Repository.](https://archive.ics.uci.edu/dataset/468/online+shoppers+purchasing+intention+dataset)
- [Reproduce it · RQ25](https://www.crosstabs.com/examples/rq25-purchasing-among-new-and-returning-visitors)
- [CSV](https://www.crosstabs.com/examples/rq25-purchasing-among-new-and-returning-visitors/download/csv) · [JSON](https://www.crosstabs.com/examples/rq25-purchasing-among-new-and-returning-visitors/download/json)
