data.tip {desk} | R Documentation |
Tip Data in a Restaurant
Description
This is a data set on the bills and the corresponding tips given in a restaurant of only 3 guests. Is can be used as minimal example to illustrate simple linear regression. The larger version of this dataset (20 guests) is available as data.tip.all.
Usage
data.tip
Format
A data frame with three observations on the following two variables:
x | the guest's bill (in euro). |
y | the tip given to the waiter/waitress (in euro). |
Details
In Auer (2023, Chap. 17) and Auer et al. (2023, Chap. 17) these hypothetical data provide a minimal data set for estimating a simple linear regression model.
Source
Auer, L.v. (2023): Ökonometrie - Eine Einführung, 8th ed., Springer-Gabler (https://www.oekonometrie-lernen.de).
References
Auer, L.v., Hoffmann, S. & Kranz, T. (2023): Ökonometrie - Das R-Arbeitsbuch, 2nd ed., Springer-Gabler (https://www.oekonometrie-lernen.de).
[Package desk version 1.1.1 Index]