Do heavier cars tend to get fewer miles per gallon?
- R’s built-in
mtcarsdataset contains 32 automobiles. mpgmeasures fuel economy in miles per US gallon.wtmeasures weight in thousands of pounds.- These historical data come from the 1974 Motor Trend US magazine.
This example describes an association. The cars were not randomly assigned different weights.