All worked examplesWorked-example collection
Retail, restaurants and QSR
E-commerce website; country unspecified Restaurant recommendation study in Mexico
4 questions · 2 source datasets · 10 languages
Questions in this collection
E-commerce and retail
E-commerce website; country unspecified
- Did returning visitors buy more often than new visitors?
2 × 2 table · N = 12,245
- Did sessions near a special shopping day end in a purchase more often?
2 × 2 table · N = 12,330
Restaurants and QSR
Restaurant recommendation study in Mexico
Methods for these tables
Every question opens in the calculator with its exact counts. These methods fit the tables in this collection:
- Chi-square test of independence · fits 4 questions
- Cramér’s V · fits 4 questions
- Odds ratio (two-by-two tables) · fits 4 questions
- Fisher’s exact test (two-by-two tables with small expected counts) · fits 2 questions
Teach or cite
A ready exercise: ask learners to choose the reading the first table supports, then compare the sibling question from the same dataset.
- Decision check
- Do these listings show that fast-food-tagged venues are listed at low prices less often than other venues?Were fast-food-tagged venues listed at low prices more often than other venues?
- Cite this example
Rafael Medelln, Juan Serna. Restaurant & consumer data. UCI Machine Learning Repository. Analysis: “Were fast-food-tagged venues listed at low prices more often than other venues?”. Crosstabs. https://www.crosstabs.com/examples/rq01-are-explicitly-fast-food-tagged-venues-listed-at-low-prices
How to cite Crosstabs
Sources and coverage
- Scope
- E-commerce website; country unspecified
- Period
- One-year sampling period; dataset released 2018. Calendar dates unspecified.
- One record is
- one recorded website session
Data: C. Sakar, Yomi Kastro. Online Shoppers Purchasing Intention Dataset. UCI Machine Learning Repository.. Licensed under CC BY 4.0. Crosstabs selected, recoded and aggregated the records into this table.
- Scope
- Restaurant recommendation study in Mexico
- Period
- Released 2011; observation dates unspecified.
- One record is
- one venue (placeID) in the restaurant profile file
Data: Rafael Medelln, Juan Serna. Restaurant & consumer data. UCI Machine Learning Repository.. Licensed under CC BY 4.0. Crosstabs selected, recoded and aggregated the records into this table.
Limits
These are selected sessions from one website over one year. A recorded purchase is only yes or no: the file gives no order amount and no experimental assignment, so nothing here says what a change to the site would do. Each user contributes exactly one session in the sample year, so a returning visitor’s earlier visits can lie outside the sample. Historical study listings, not a census of restaurants. A tag that is missing may reflect incomplete coding rather than a venue that lacks the feature. Only venues with a record in every tag file used are included.