Learn R Programming

Stat2Data (version 2.0.0)

ThreeCars: Prices of Three Used Car Models (2007)

Description

Compare prices for Porsche, Jaguar, and BMW cars offered for sale at an internet site

Arguments

Format

A dataset with 90 observations on the following 8 variables.

CarType BMW, Jaguar, or Porsche
Price Asking price (in $1,000's)
Age Age of the car (in years)
Mileage previous miles driven (in 1,000's)
Car 0=Porsche, 1=Jaguar, 2=BMW
Porsche Indicator with 1= Porsche and 0=otherwise
Jaguar Indicator with 1= Jaguar and 0=otherwise
BMW Indicator with 1= BMW and 0=otherwise

Details

Two students collected samples of Porsche, Jaguar, and BMW cars that were offered for sale at an internet site. In addition to asking price, they recorded the model year (converting to age) and mileage of each advertised car. The PorschePrice dataset (from the first edition) has only the Porsche data and the PorscheJaguar dataset has the data for those two models.

This dataset has been updated (with different car models) to ThreeCars2017 for the second edition.