R/BSDA-package.R
Spelling.Rd
Data for Exercise 7.56
Spelling
A data frame/tibble with nine observations on three variables
spelling score before a 2-week course of instruction
spelling score after a 2-week course of instruction
after - before (spelling score)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
qqnorm(Spelling$differ)
qqline(Spelling$differ)
shapiro.test(Spelling$differ)
#>
#> Shapiro-Wilk normality test
#>
#> data: Spelling$differ
#> W = 0.9642, p-value = 0.8411
#>
t.test(Spelling$differ)
#>
#> One Sample t-test
#>
#> data: Spelling$differ
#> t = 2.286, df = 8, p-value = 0.05159
#> alternative hypothesis: true mean is not equal to 0
#> 95 percent confidence interval:
#> -0.02624912 6.02624912
#> sample estimates:
#> mean of x
#> 3
#>