carAuction {HRW} | R Documentation |
Cars purchased at auction
Description
The carAuction
data frame has data on several variables concerning cars purchased at automobile auctions by automobile dealerships in the United States of America. The origin of these data is a classification competition titled “Don't Get Kicked!” that ran on the ‘kaggle’ platform (https://www.kaggle.com) during 2011-2012. Many of the variables in this data frame have been derived from those in the original data set from https://www.kaggle.com.
Usage
data(carAuction)
Format
This data frame contains the following columns:
RefId
unique number assigned to each vehicles.
IsBadBuy
indicator that the vehicle purchased at auction by an automobile dealership has serious problems that hinder or prevent it being sold - a "bad buy":
1 = the vehicle is a "bad buy"
0 = the vehicle is a "good buy".
All other indicator variables are defined in this way.purchIn2010
indicator that vehicle was purchased in 2010.
aucEqAdesa
indicator that the auction provider at which the vehicle was purchased was Adesa.
aucEqManheim
indicator that the auction provider at which the vehicle was purchased was Manheim.
vehYearEq03
indicator that the manufacturer's year of the vehicle is 2003.
vehYearEq04
indicator that the manufacturer's year of the vehicle is 2004.
vehYearEq05
indicator that the manufacturer's year of the vehicle is 2005.
vehYearEq06
indicator that the manufacturer's year of the vehicle is 2006.
vehYearEq07
indicator that the manufacturer's year of the vehicle is 2007.
ageAtSale
age of the vehicle in years when sold.
makeEqChevrolet
indicator that the vehicle's manufacturer is Chevrolet.
makeEqFord
indicator that the vehicle's manufacturer is Ford.
makeEqDodge
indicator that the vehicle's manufacturer is Dodge.
makeEqChrysler
indicator that the vehicle's manufacturer is Chrysler.
trimEqBas
indicator that the trim level of the vehicle is 'Bas'.
trimEqLS
indicator that the trim level of the vehicle is 'LS'.
trimEqSE
indicator that the trim level of the vehicle is 'SE'.
subModelEq4DSEDAN
indicator that the submodel of the vehicle is '4DSedan'.
subModelEq4DSEDANLS
indicator that the submodel of the vehicle is '4DSedanLS'.
subModelEq4DSEDANSE
indicator that the submodel of the vehicle is '4DSedanSE'.
colourEqSilver
indicator that the vehicle color is silver.
colourEqWhite
indicator that the vehicle color is white.
colourEqBlue
indicator that the vehicle color is blue.
colourEqGrey
indicator that the vehicle color is grey.
colourEqBlack
indicator that the vehicle color is black.
colourEqRed
indicator that the vehicle color is red.
colourEqGold
indicator that the vehicle color is gold.
colourEqOrange
indicator that the vehicle color is orange.
transEqManual
indicator that the vehicle has manual transmission.
wheelEqAlloy
indicator that the vehicle has alloy wheels.
wheelEqCovers
indicator that the vehicle has covered wheels.
odomRead
the vehicle's odometer reading in miles.
AmericanMade
indicator that the vehicle was manufactured in the United States of America.
otherAsianMade
indicator that the vehicle was manuctured in an Asian nation other than Japan or South Korea.
sizeEqTruck
indicator that the size category of the vehicle is 'truck'.
sizeEqMedium
indicator that the size category of the vehicle is 'medium'.
sizeEqSUV
indicator that the size category of the vehicle is 'SUV'.
sizeEqCompact
indicator that the size category of the vehicle is 'compact'.
sizeEqVan
indicator that the size category of the vehicle is 'van'.
price
acquisition price for this vehicle in average condition at time of purchase in U.S. dollars.
purchInTexas
indicator that the vehicle was purchased in Texas.
purchInFlorida
indicator that the vehicle was purchased in Florida.
purchInCalifornia
indicator that the vehicle was purchased in California.
purchInNorthCarolina
indicator that the vehicle was purchased in North Carolina.
purchInArizona
indicator that the vehicle was purchased in Arizona.
purchInColorado
indicator that the vehicle was purchased in Colorado.
purchInSouthCarolina
indicator that the vehicle was purchased in South Carolina.
costAtPurch
acquisition cost paid for the vehicle at time of purchase.
onlineSale
indicator that the vehicle was purchased online.
warrantyCost
warranty cost in U.S. dollars.
Source
The “Don't Get Kicked” competition, https://www.kaggle.com.
Examples
library(HRW) ; data(carAuction)
## Not run:
for (colNum in 3:10)
{
plot(jitter(carAuction[,colNum]),jitter(carAuction$IsBadBuy),pch = ".",
xlab = names(carAuction)[colNum],ylab = "is car a bad buy?",col = "blue")
readline("Hit Enter to continue.\n")
}
for (colNum in 11:51)
{
plot(jitter(carAuction[,colNum]),jitter(carAuction$IsBadBuy),pch = ".",
xlab = names(carAuction)[colNum],ylab = "is car a bad buy?",col = "blue")
readline("Hit Enter to continue.\n")
}
## End(Not run)