Data for Exercise 1.122

Rentals

Format

A data frame/tibble with 45 observations on one variable

rent

weekly apartment rental price (in dollars)

References

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

Examples


stem(Rentals$rent)
#> 
#>   The decimal point is 2 digit(s) to the right of the |
#> 
#>   0 | 6778888999
#>   1 | 00013333344
#>   1 | 555667889
#>   2 | 1344
#>   2 | 579
#>   3 | 00114
#>   3 | 5
#>   4 | 3
#>   4 | 9
#> 
sum(Rentals$rent < mean(Rentals$rent) - 3*sd(Rentals$rent) | 
   Rentals$rent > mean(Rentals$rent) + 3*sd(Rentals$rent))
#> [1] 1