delivery {rrcov}R Documentation

Delivery Time Data

Description

Delivery Time Data, from Montgomery and Peck (1982). The aim is to explain the time required to service a vending machine (Y) by means of the number of products stocked (X1) and the distance walked by the route driver (X2).

Usage

data(delivery)

Format

A data frame with 25 observations on the following 3 variables.

X1
Number of Products
X2
Distance
Y
Delivery time

For convenience, the data sets delivery.x, a matrix with the two (independent) variables of the data frame, and delivery.y, the numeric vector giving the thirth (dependent) variable, are provided as well.

Source

P. J. Rousseeuw and A. M. Leroy (1987) Robust Regression and Outlier Detection. Wiley, page 155, table 23.

Examples

data(delivery)
covMcd(delivery.x)

summary(lm.delivery <- lm(delivery.y ~ delivery.x))


[Package rrcov version 0.2-5 Index]