Learn R Programming

mosaic (version 0.6-2)

EPA: EPA Fuel Economy

Description

Every year, the Environmental Protection Agency (EPA) collects data on fuel economy. With rising gasoline prices, consumers are using these figures as they decide which automobile to purchase. We will look at two-seater automobiles, many of which are sporty vehicles. The 2007 EPA sample is used to test the hypothesis that the combined city and highway miles per gallon (mpg) of two-seater automobiles is greater than 20. The standard deviation for all vehicles is 4.7 mpg.

Usage

data(EPA)

Arguments

format

A data frame with 71 observations on the following variables.

  • class
{automobile type TWO SEATERS} mfr {automobile brand: one of MERCEDES=BENZ PORSCHE BMW LAMBORGHINI CHRYSLER FERRARI ASTON MARTIN CADILLAC CHEVROLET HONDA LOTUS MAZDA NISSAN PONTIAC SATURN SPYKR} line {model} displace {displacement of the engine} cylinders {number of cylinders} trans {transmission type} drive {drive system, 4 = , R = } city {city mileage (in miles per gallon)} hwy {highway mileage (in miles per gallon)} mpg {combined city and highway (in miles per gallon)}

References

Part of the Carnegie Mellon University Online Learning Initiative datasets.