R/BSDA-package.R
Schizop2.Rd
Data for Exercise 6.99
Schizop2
A data frame/tibble with 17 observations on one variable
schizophrenics score on a second standardized exam
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
hist(Schizop2$score, xlab = "score on standardized test after a tranquilizer",
main = "Exercise 6.99", breaks = 10, col = "orange")
EDA(Schizop2$score)
#> [1] "Schizop2$score"
#> Size (n) Missing Minimum 1st Qu Mean Median TrMean 3rd Qu
#> 17.000 0.000 5.000 19.000 26.000 30.000 26.000 33.500
#> Max. Stdev. Var. SE Mean I.Q.R. Range Kurtosis Skewness
#> 37.000 9.721 94.500 2.358 14.500 32.000 -0.749 -0.809
#> SW p-val
#> 0.031
SIGN.test(Schizop2$score, md = 22, alternative = "greater")
#>
#> One-sample Sign-Test
#>
#> data: Schizop2$score
#> s = 13, p-value = 0.02452
#> alternative hypothesis: true median is greater than 22
#> 95 percent confidence interval:
#> 23.53969 Inf
#> sample estimates:
#> median of x
#> 30
#>
#> Achieved and Interpolated Confidence Intervals:
#>
#> Conf.Level L.E.pt U.E.pt
#> Lower Achieved CI 0.9283 24.0000 Inf
#> Interpolated CI 0.9500 23.5397 Inf
#> Upper Achieved CI 0.9755 23.0000 Inf
#>