fuel2001 {alr3} | R Documentation |
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.
This data frame contains the following columns:
Number of Licensed drivers in the state
Gasoline sold for road use (1000s of gal.)
Per capita personal income (year 2000)
Miles of Federal-aid highway miles in the state
Estimated miles driven per capita
Population age 16 and over
Gasoline state tax rate, cents per gallon
State name
http://www.fhwa.dot.gov/ohim/hs01/index.htm
Weisberg, S. (2005). Applied Linear Regression, third edition. New York: Wiley.
data(fuel2001) fuel2001$Dlic <- 1000*fuel2001$Drivers/fuel2001$Pop fuel2001$Fuel <- 1000*fuel2001$FuelC/fuel2001$Pop fuel2001$Income <- fuel2001$Income/1000 fuel2001$logMiles <- log(fuel2001$Miles,2) pairs(Fuel~Tax+Dlic+Income+logMiles,data=fuel2001)