A statistician records how long he must wait for his bus each morning.
WAIT
A data frame with 15 observations on the following variable:
minutes
(waiting time in minutes)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
with(data= WAIT, wilcox.test(minutes, mu = 6, alternative = "less"))
#>
#> Wilcoxon signed rank test
#>
#> data: minutes
#> V = 28, p-value = 0.0365
#> alternative hypothesis: true location is less than 6
#>