Data for Exercise 1.119

Append

Format

A data frame/tibble with 20 observations on one variable

fee

fees for an appendectomy for a random sample of 20 hospitals in North Carolina

Source

North Carolina Medical Database Commission, August 1994.

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


fee <- Append$fee
ll <- mean(fee) - 2*sd(fee)
ul <- mean(fee) + 2*sd(fee)
limits <-c(ll, ul)
limits
#> [1] 2701.732 6764.768
fee[fee < ll | fee > ul]
#> [1] 2478