▚DATAJIN

Restaurant tips dataset

Bills and tips recorded by one waiter over several months, with the sex of the payer, smoker status, day, time (lunch/dinner) and party size. Good for t tests, two-way ANOVA and regression.

Open in DATAJINDownload CSV

244 rows · 7 columns · CSV · one of the example datasets distributed with the seaborn Python library.

Columns

ColumnType
total_billnumeric
tipnumeric
sextext
smokertext
daytext
timetext
sizenumeric

Summary statistics

Computed from all 244 rows. For numeric columns: mean, standard deviation and range; for text columns: the most common values.

Numeric columnMeanSDMinMedianMaxMissing
total_bill19.798.9023.0717.850.810
tip2.9981.38412.9100
size2.570.95111260
Text columnDistinct valuesMost commonMissing
sex2Male (157), Female (87)0
smoker2No (151), Yes (93)0
day4Sat (87), Sun (76), Thur (62), Fri (19)0
time2Dinner (176), Lunch (68)0

Preview (first 8 rows)

total_billtipsexsmokerdaytimesize
16.991.01FemaleNoSunDinner2
10.341.66MaleNoSunDinner3
21.013.5MaleNoSunDinner3
23.683.31MaleNoSunDinner2
24.593.61FemaleNoSunDinner4
25.294.71MaleNoSunDinner4
8.772MaleNoSunDinner2
26.883.12MaleNoSunDinner4

Analyses to try

Two-way ANOVA calculatorTwo factors plus their interaction on one numeric outcome.Correlation coefficient calculator (Pearson and Spearman)Pearson r or Spearman ρ between two columns, with p-value.Simple linear regression calculatorFit Y = a + b·X with slope, intercept, R² and p-value.

All example datasets