Kinder {BSDA}R Documentation

Reading scores for first grade children who attended kindergarten versus those who did not

Description

Data for Exercise 7.68

Usage

Kinder

Format

A data frame/tibble with eight observations on three variables

pair

a numeric indicator of pair

kinder

reading score of kids who went to kindergarten

nokinder

reading score of kids who did not go to kindergarten

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(Kinder$kinder, Kinder$nokinder)
diff <- Kinder$kinder - Kinder$nokinder
qqnorm(diff)
qqline(diff)
shapiro.test(diff)
t.test(Kinder$kinder, Kinder$nokinder, paired = TRUE)
# Or
t.test(diff)
rm(diff)


[Package BSDA version 1.2.0 Index]