Data

The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models). The data point in this set are as follows

  • mpg - Miles per (US)Gallon
  • cyl - Number of cylanders the engine has
  • disp - Displacement of engine (cu.in)
  • hp - Gross horsepower of engine
  • drat - Rear axel ratio
  • wt - Weight (1000lbs)
  • qsec - Quarter mile time
  • vs - Engine (0 = V-shaped, 1 = straight)
  • am - Transmission (0 = automatic, 1 = manual)
  • gear - Number of forward gears
  • carb - Number of carburetors

MPG Formula

This is a formula for Miles Per Gallon

\[ mpg = \frac{miles\;traveled}{gallons\;of\;gas} \]

MPG Visual