Tip data

Description

A simulated data set of tips over a few weeks on a couple days per week. Each tip is associated with a single group, which may include several bills and tables (i.e. groups paid in one lump sum in simulations).

Usage

tips

Format

A data frame with 95 observations on the following 5 variables.

week

Week number.

day

Day, either Friday or Tuesday.

n_peop

Number of people associated with the group.

bill

Total bill for the group.

tip

Total tip from the group.

Details

This data set was built using simulations of tables, then bills, then tips based on the bills. Large groups were assumed to only pay the gratuity, which is evident in the data. Tips were set to be plausible round values; they were often (but not always) rounded to dollars, quarters, etc.

Source

Simulated data set.

Downloads