bamlss (version 1.1-2)

Golf: Prices of Used Cars Data

Description

This dataset is taken from the Regression Book and is about prices of used VW Golf cars.

Usage

data("Golf")

Arguments

Format

The Golf data contains the following variables:

price:

Numeric, sale price in 1000 Euro.

age:

Numeric, age of the car in month.

kilometer:

Numeric, kilometer reading in 1000 kilometers.

tia:

Numeric, month until the next TIA appointment (German TUEV).

abs:

Factor, does the car have abs?

sunroof:

Factor, does the car have a sunroof?

References

Fahrmeir, L., Kneib, T., Lang, S. and Marx, B. (2013). Regression - Models, Methods and Applications, Springer. https://www.uni-goettingen.de/de/books/550514.html.

Examples

Run this code
# NOT RUN {
data("Golf")
plot(price ~ age, data = Golf)
plot(price ~ kilometer, data = Golf)
# }

Run the code above in your browser using DataCamp Workspace