R/BSDA-package.R
Challeng.Rd
Data for Examples 1.11, 1.12, 1.13, 2.11 and 5.1
Challeng
A data frame/tibble with 25 observations on four variables
a character variable indicating the flight
date of the flight
temperature (in fahrenheit)
number of failures
Dalal, S. R., Fowlkes, E. B., Hoadley, B. 1989. “Risk Analysis of the Space Shuttle: Pre-Challenger Prediction of Failure.” Journal of the American Statistical Association, 84, No. 408, 945-957.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
stem(Challeng$temp)
#>
#> The decimal point is 1 digit(s) to the right of the |
#>
#> 2 | 1
#> 4 | 378
#> 6 | 3677789000023556689
#> 8 | 01
#>
summary(Challeng$temp)
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> 31.00 67.00 70.00 68.44 75.00 81.00
IQR(Challeng$temp)
#> [1] 8
quantile(Challeng$temp)
#> 0% 25% 50% 75% 100%
#> 31 67 70 75 81
fivenum(Challeng$temp)
#> [1] 31 67 70 75 81
stem(sort(Challeng$temp)[-1])
#>
#> The decimal point is 1 digit(s) to the right of the |
#>
#> 5 | 378
#> 6 | 3677789
#> 7 | 000023556689
#> 8 | 01
#>
summary(sort(Challeng$temp)[-1])
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> 53.00 67.00 70.00 70.00 75.25 81.00
IQR(sort(Challeng$temp)[-1])
#> [1] 8.25
quantile(sort(Challeng$temp)[-1])
#> 0% 25% 50% 75% 100%
#> 53.00 67.00 70.00 75.25 81.00
fivenum(sort(Challeng$temp)[-1])
#> [1] 53.0 67.0 70.0 75.5 81.0
par(mfrow=c(1, 2))
qqnorm(Challeng$temp)
qqline(Challeng$temp)
qqnorm(sort(Challeng$temp)[-1])
qqline(sort(Challeng$temp)[-1])
par(mfrow=c(1, 1))