Data for Exercise 7.62
A data frame/tibble with 15 observations on three variables
number of pot
height of plant (in inches) after a fixed period of time when cross-fertilized
height of plant (in inches) after a fixed period of time when self-fertilized
Darwin, C. (1876) The Effect of Cross- and Self-Fertilization in the Vegetable Kingdom, 2nd edition, London.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
differ <- Darwin$cross - Darwin$self qqnorm(differ) qqline(differ) shapiro.test(differ) #> #> Shapiro-Wilk normality test #> #> data: differ #> W = 0.90079, p-value = 0.09785 #> wilcox.test(Darwin$cross, Darwin$self, paired = TRUE) #> #> Wilcoxon signed rank test #> #> data: Darwin$cross and Darwin$self #> V = 96, p-value = 0.04126 #> alternative hypothesis: true location shift is not equal to 0 #> rm(differ)