Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hormone

Hormone Data from page 107


Description

The hormone data. Amount in milligrams of anti-inflammatory hormone remaining in 27 devices, after a certain number of hours (hrs) of wear.

Usage

data(hormone)

Format

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

Lot

a character vector

hrs

a numeric vector

amount

a numeric vector

Details

The hormone data. Amount in milligrams of anti-inflammatory hormone remaining in 27 devices, after a certain number of hours (hrs) of wear. The devices were sampled from 3 different manufacturing lots, called A, B and C. Lot C looks like it had greater amounts of remaining hormone, but it also was worn the least number of hours.

The book uses this as an example for regression analysis.

Source

Efron, B. and Tibshirani, R. (1993) An Introduction to the Bootstrap. Chapman and Hall, New York, London.

Examples

str(hormone) 
if(interactive())par(ask=TRUE)
with(hormone, stripchart(amount ~ Lot))
with(hormone, plot(amount ~ hrs, pch=Lot))
abline( lm(amount ~ hrs, data=hormone, col="red2"))

bootstrap

Functions for the Book "An Introduction to the Bootstrap"

v2019.6
BSD_3_clause + file LICENSE
Authors
S original, from StatLib, by Rob Tibshirani. R port by Friedrich Leisch.
Initial release
2019-06-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.