Learn R Programming

BSDA (version 1.2.2)

Sentence: Sentences of 41 prisoners convicted of a homicide offense

Description

Data for Exercise 1.123

Usage

Sentence

Arguments

Format

A data frame/tibble with 41 observations on one variable

months

sentence length (in months) for prisoners convicted of homocide

References

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

Examples

Run this code

stem(Sentence$months)
ll <- mean(Sentence$months)-2*sd(Sentence$months)
ul <- mean(Sentence$months)+2*sd(Sentence$months)
limits <- c(ll, ul)
limits
rm(ul, ll, limits)

Run the code above in your browser using DataLab