case1401 | R Documentation |
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.
case1401
A data frame with 40 observations on the following 3 variables.
Minutes
learning time in minutes
Chimp
a factor indicating chimp, with four levels
"Booee"
, "Cindy"
, "Bruno"
and "Thelma"
Sign
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.
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.