fuel2001: Fuel consumption

Description Format Source References Examples

Description

Data on motor fuel consumption and related variables, for the year 2001. The unit is a state in the United States or the District of Columbia. Data are for 2001, unless noted.

Format

This data frame contains the following columns. Row labels are the two-digit US Postal abbreviations for the US states.

Drivers

Number of Licensed drivers in the state

FuelC

Gasoline sold for road use (1000s of gal.)

Income

Per capita personal income (year 2000)

Miles

Miles of Federal-aid highway miles in the state

MPC

Estimated miles driven per capita

Pop

Population age 16 and over

Tax

Gasoline state tax rate, cents per gallon

Source

http://www.fhwa.dot.gov/ohim/hs01/index.htm

References

Weisberg, S. (2014). Applied Linear Regression, third edition. New York: Wiley.

Examples

1
2
3
4
5
6
7
8
head(fuel2001)
# Most of the examples in ALR3 that use these data first 
# transform several of the columns
fuel2001 <- transform(fuel2001,
     Dlic=1000 * Drivers/Pop,
     Fuel=1000 * FuelC/Pop,
     Income=Income/1000)
pairs(Fuel~Tax + Dlic + Income + log2(Miles), data=fuel2001)

Example output

Loading required package: car
Loading required package: effects
Loading required package: carData

Attaching package: 'carData'

The following objects are masked from 'package:car':

    Guyer, UN, Vocab

lattice theme set by effectsTheme()
See ?effectsTheme for details.
    Drivers    FuelC Income  Miles      MPC      Pop  Tax
AL  3559897  2382507  23471  94440 12737.00  3451586 18.0
AK   472211   235400  30064  13628  7639.16   457728  8.0
AZ  3550367  2428430  25578  55245  9411.55  3907526 18.0
AR  1961883  1358174  22257  98132 11268.40  2072622 21.7
CA 21623793 14691753  32275 168771  8923.89 25599275 18.0
CO  3287922  2048664  32949  85854  9722.73  3322455 22.0

alr4 documentation built on May 29, 2017, 10:51 a.m.