Learn R Programming

desk (version 1.1.2)

data.tip.all: Tip Data in a Restaurant with all 20 observations. Only used in textbook.

Description

This is a hypothetical data set on the bills and the corresponding tips given in a restaurant. A reduced version of this dataset (only 3 observations) is also available as data.tip.

Usage

data.tip

Arguments

Format

A data frame with 20 observations on the following two variables:

xthe guest's bill (in euro).
ythe tip given to the waiter/waitress (in euro).

Details

In Auer (2023, Chap. 3) and Auer et al. (2024, Chap. 3) these hypothetical data provide a data set for estimating a simple linear regression model.

References

Auer, L.v., Hoffmann, S. & Kranz, T. (2024): Ökonometrie - Das R-Arbeitsbuch, 2nd ed., Springer-Gabler (https://www.oekonometrie-lernen.de).