R Dataset / Package Stat2Data / TipJoke


On this R-data statistics page, you will find information about the TipJoke data set which pertains to Tip Joke. The TipJoke data set is found in the Stat2Data R package. You can load the TipJoke data set in R by issuing the following command at the console data("TipJoke"). This will load the data into a variable called TipJoke. If R says the TipJoke data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the TipJoke R data set. The size of this file is about 3,049 bytes.

Tip Joke


Effect of a waiter leaving a joke or an advertisement on getting a tip


A dataset with 211 observations on the following 5 variables.

R project statistics dataset table
Card Type of card used: Ad, Joke, or None
Tip 1=customer left a tip or 0=no tip
Ad Indicator for Ad card
Joke Indicator for Joke card
None Indicator for no card


Can telling a joke affect whether or not a waiter in a coffee bar receives a tip from a customer? A study investigated this question at a coffee bar at a famous resort on the west coast of France. The waiter randomly assigned coffee-ordering customers to one of three groups: When receiving the bill one group also received a card telling a joke, another group received a card containing an advertisement for a local restaurant, and a third group received no card at all. He recorded whether or not each customer left a tip.


Gueguen, Nicholas (2002), "The Effects of a Joke on Tipping When it is Delivered at the Same Time as the Bill," Journal of Applied Social Psychology, 32, 1955-1963.


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-stat2data-tipjoke.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-66107.csv 2.98 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.