Learn R Programming

BSDA (version 1.2.0)

Music: Improvement scores for identical twins taught music recognition by two techniques

Description

Data for Exercise 7.59

Usage

Music

Arguments

Format

A data frame/tibble with 12 observations on three variables

method1

a numeric vector measuring the improvement scores on a music recognition test

method2

a numeric vector measuring the improvement scores on a music recognition test

differ

method1 - method2

References

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

Examples

Run this code
# NOT RUN {
qqnorm(Music$differ)
qqline(Music$differ)
shapiro.test(Music$differ)
t.test(Music$method1, Music$method2, paired = TRUE)
# Or
t.test(Music$differ)
# }
# NOT RUN {
library(ggplot2)
ggplot2::ggplot(data = Music, aes(x = differ)) + 
           geom_dotplot() + 
           theme_bw()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab