bootstrap (version 2019.6)

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)

Arguments

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.

Examples

Run this code
# NOT RUN {
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"))
# }

Run the code above in your browser using DataCamp Workspace