arithmetic | R Documentation |
45 school pupils were divided at random into 5 groups of size 9. Groups A and B were taught arithmetic in separate classes by the usual method. Groups C, D, and E were taught together for several days. On each day group C were publically praised, group D were publically reproved, and group E were ignored. The responses are from a standard test taken by all pupils at the end of the period.
data(arithmetic)
A data frame with 45 observations on the following 2 variables.
a factor with levels A
B
C
D
E
a numeric vector
Unpublished lecture notes, Imperial College, London.
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 427.
data(arithmetic)
attach(arithmetic)
plot(y~group)
anova(lm(y~group,data=arithmetic))
summary(lm(y~group,data=arithmetic)) # two different parametrisations
summary(lm(y~group-1,data=arithmetic)) # for ANOVA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.