Researchers taught each of 4 chimps to learn 10 words in American sign language and recorded the learning time for each word for each chimp. They wished to describe chimp differences and word differences.
A data frame with 40 observations on the following 3 variables.
learning time in minutes
a factor indicating chimp, with four levels
a factor indicating word taught, with 10 levels
Ramsey, F.L. and Schafer, D.W. (2002). The Statistical Sleuth: A Course in Methods of Data Analysis (2nd ed), Duxbury.
Fouts, R.S. (1973). Acquisition and Testing of Gestural Signs in Four Young Chimpanzees, Science 180: 978-980.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
str(case1401) fitadditive <- aov(Minutes ~ Chimp + Sign, case1401) # Residual plot indicates a transformation may help plot(fitadditive) fitadditive <- aov(log(Minutes) ~ Chimp + Sign, case1401) # No problems are indicated by residual plot plot(fitadditive) anova(fitadditive) # Tukey multiple comparisons of sign differences mcSign <- TukeyHSD(fitadditive,"Sign") mcSign plot(mcSign) mcChimp <- TukeyHSD(fitadditive,"Chimp") mcChimp par(cex=.7) plot(mcChimp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.