Learn R Programming

SMPracticals (version 1.3-1)

shoe: Shoe Wear Data

Description

Amount of wear in a paired comparison of two materials used for soling the shoes of 10 boys. The materials were allocated randomly to the left and right feet.

Usage

data(shoe)

Arguments

source

Box, G. E. P., Hunter, W. G. and Hunter, J. S. (1978) Statistics for Experimenters. New York: Wiley. Page 100.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 422.

Examples

Run this code
data(shoe)
attach(shoe)
d <- y[material=="B"]-y[material=="A"]  # difference
t.test(d)  # t test of hypothesis that B wears quicker

Run the code above in your browser using DataLab