Data for Example 6.12
Lethal
A data frame/tibble with 30 observations on one variable
a numeric vector indicating time surivived after injection (in seconds)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
SIGN.test(Lethal$survival, md = 45, alternative = "less")
#>
#> One-sample Sign-Test
#>
#> data: Lethal$survival
#> s = 8, p-value = 0.008062
#> alternative hypothesis: true median is less than 45
#> 95 percent confidence interval:
#> -Inf 41.98759
#> sample estimates:
#> median of x
#> 38
#>
#> Achieved and Interpolated Confidence Intervals:
#>
#> Conf.Level L.E.pt U.E.pt
#> Lower Achieved CI 0.8998 -Inf 41.0000
#> Interpolated CI 0.9500 -Inf 41.9876
#> Upper Achieved CI 0.9506 -Inf 42.0000
#>