Features of Cars from 1993

Francis A. Méndez
January 24, 2015

Purpose

The purpose of this application is to show the of features for 1993 car models. The features presented are:

  • Sale Price
  • Maximum Price
  • Minimum Price
  • Miles per gallon in city
  • Miles per gallon in highways
  • Horsepower
  • Fuel tank capacity

Data

  • The data are pulled from the data frame Cars93.
library(MASS)
data(Cars93)
  • The sample of cars was selected at random from among 1993 passenger car models that were listed in both the Consumer Reports issue and the PACE Buying Guide.
  • Pickup trucks and Sport/Utility vehicles were eliminated due to incomplete information in the Consumer Reports source.
  • Duplicate models (e.g., Dodge Shadow and Plymouth Sundance) were listed at most once.

Data

EXAMPLE OF THE DATA PULLED

data<-subset(Cars93, select=c(Price, Max.Price, Min.Price, MPG.city, MPG.highway, Horsepower, Fuel.tank.capacity))
head(data, 3)
  Price Max.Price Min.Price MPG.city MPG.highway Horsepower
1  15.9      18.8      12.9       25          31        140
2  33.9      38.7      29.2       18          25        200
3  29.1      32.3      25.9       20          26        172
  Fuel.tank.capacity
1               13.2
2               18.0
3               16.9

Aspect of the Main Window

WP

  • Data Output
    • A slide is used to enter the percent that the user wishes to see.
    • A pull-down menu is used to select for which of the features the user wishes to see a distribution.

Aspect of the Main Window

WP

  • Data Output
    • A histogram for the selected feature.
    • A quantile computed using the SAS default.
    • Consider the \( 20^{th} \) percentile for price.
quantile(Cars93$Price, 0.20)
  20% 
11.34