Learn R Programming

RSADBE (version 1.0)

Gasoline: Car Mileage Dataset

Description

This data set has been used primarily for understanding a multivariate data set. Multiple regression model is also introduced and discussed completely through this example.

Usage

data(Gasoline)

Arguments

Format

A data frame with 25 observations on the following 12 variables.
y
Miles per gallon
x1
Displacement (cubic inches)
x2
Horsepower (foot-pounds)
x3
Torque (foot-pounds)
x4
Compression ratio
x5
Rear axle ratio
x6
Carburetor (barrels)
x7
Number of transmission speeds
x8
Overall length (inches)
x9
Width (inches)
x10
Weight (pounds)
x11
Type of transmission (A-automatic, M-manual)

References

Montgomery, D. C., Peck, E.A., and Vining, G.G. (2012). Introduction to linear regression analysis. Wiley.

Examples

Run this code
data(Gasoline)

Run the code above in your browser using DataLab