Learn R Programming

PASWR (version 1.0)

Swimtimes: Swim Times

Description

Swimmers' improvements in seconds for two diets are stored in the data frame Swimtimes. The values in highfat represent the time improvement in seconds for swimmers on a high fat diet, and the values in lowfat represent the time improvement in seconds for swimmers on a low fat diet. Data are used in Example 10.9.

Usage

Swimtimes

Arguments

source

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.

Details

Times for the thirty-two swimmers for the 200 yard individual medley were taken right after the swimmers' conference meet. The swimmers were randomly assigned to follow one of the diets. The group on diet 1 followed a low fat diet the entire year but lost two swimmers along the way. The group on diet 2 followed the high fat diet the entire year and also lost two swimmers.

Examples

Run this code
attach(Swimtimes)
wilcox.test(highfat, lowfat)
detach(Swimtimes)

Run the code above in your browser using DataLab