Learn R Programming

multcomp (version 0.4-8)

tire: Tire Wear Data Set

Description

Operating costs per mile for two brands of tires; data set taken from Westfall et al. (1999, p. 109). Confidence bands for difference of regression functions.

Usage

data(tire)

Arguments

source

P. H. Westfall, R. D. Tobias, D. Rom, R. D. Wolfinger, Y. Hochberg (1999). Multiple Comparisons and Multiple Tests Using the SAS System. Cary, NC: SAS Institute Inc.

Details

See Westfall et al. (1999, p. 109)

Examples

Run this code
data(tire)
C <- c(0,1,-1,0,10,-10)
for ( x in seq(15,70,5) ) { C <- rbind( C,c(0,1,-1,0,x,-x) ) }
# numerate the contrasts
rownames(C) <- paste("C", 1:nrow(C), sep="")

# simultaneous confidence intervals for difference of regression functions
summary(simint(cost ~ make*mph, data=tire,
               cmatrix=C, eps=0.001))

Run the code above in your browser using DataLab