R: Prices of Used Cars Data

Golf {bamlss} | R Documentation

## 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")

### 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/551357.html`.

### Examples

    data("Golf")
    plot(price ~ age, data = Golf)
    plot(price ~ kilometer, data = Golf)

[Package bamlss version 1.1-7 Index]