R Dataset / Package Stat2Data / ThreeCars

Documentation

On this Picostat.com statistics page, you will find information about the ThreeCars data set which pertains to Three Cars. The ThreeCars data set is found in the Stat2Data R package. You can load the ThreeCars data set in R by issuing the following command at the console data("ThreeCars"). This will load the data into a variable called ThreeCars. If R says the ThreeCars data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the ThreeCars R data set. The size of this file is about 2,556 bytes.


Three Cars

Description

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

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 has only the Porsche data and the PorscheJaguar dataset has the data for those two models.

Source

Student project data collected from autotrader.com in Spring 2007.

--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-82722.csv 2.5 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0