CarMileageData {gvlma}R Documentation

Car Mileage Data Recorded at Each Gasoline Fill-Up

Description

Data on automobile gas mileage performace recorded at each gasoline fill-up from Oct. 20, 1996 through January 27, 1999.

Usage

data(CarMileageData)

Format

A data frame with 205 observations on the following 7 variables.

Date

Date of gasoline fill-up

Lag1Date

Lagged gasoline fill-up date

NumDaysBetw

Number of days since last gasoline fill-up

TotalMiles

Current odometer reading

NumGallons

Number of gallons to fill tank

MilesLastFill

Miles driven since last fill-up

AveMilesGal

Average miles per gallon achieved since last fill-up

Details

Many people routinely record data on automobile mileage performance at each gasoline fill-up. Prof.\ E.\ Pena generously contributed his data for this time period.

Source

These data were used in Example 1 of the publication “Global Validation of Linear Model Assumptions” by E.\ Pena and E. Slate, Journal of the American Statistical Association, 101(473):341-354, 2006. The data were recorded by Prof.\ E.\ Pena.

Examples

data(CarMileageData)
plot(CarMileageData)

[Package gvlma version 1.0.0.3 Index]