arithmetic {SMPracticals} | R Documentation |
Teaching Arithmetic Data
Description
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.
Usage
data(arithmetic)
Format
A data frame with 45 observations on the following 2 variables.
- group
a factor with levels
A
B
C
D
E
- y
a numeric vector
Source
Unpublished lecture notes, Imperial College, London.
References
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 427.
Examples
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
[Package SMPracticals version 1.4-3.1 Index]