Learn R Programming

SMPracticals (version 1.3-1)

arithmetic: 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)

Arguments

source

Unpublished lecture notes, Imperial College, London.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 427.

Examples

Run this code
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

Run the code above in your browser using DataLab