Data for Exercise 1.123
Sentence
A data frame/tibble with 41 observations on one variable
sentence length (in months) for prisoners convicted of homocide
U.S. Department of Justice, Bureau of Justice Statistics, Prison Sentences and Time Served for Violence, NCJ-153858, April 1995.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
stem(Sentence$months)
#>
#> The decimal point is 1 digit(s) to the right of the |
#>
#> 10 | 577
#> 12 | 13683455679
#> 14 | 45678905789
#> 16 | 03489236
#> 18 | 058056
#> 20 | 96
#>
ll <- mean(Sentence$months)-2*sd(Sentence$months)
ul <- mean(Sentence$months)+2*sd(Sentence$months)
limits <- c(ll, ul)
limits
#> [1] 103.3481 206.7982
rm(ul, ll, limits)