A partially balanced incomplete block experiment

Share:

Description

The PBIB data frame has 60 rows and 3 columns.

Format

This data frame contains the following columns:

response

a numeric vector

Treatment

a factor with levels 1 to 15

Block

an ordered factor with levels 1 to 15

Source

Littel, R. C., Milliken, G. A., Stroup, W. W., and Wolfinger, R. D. (1996), SAS System for Mixed Models, SAS Institute (Data Set 1.5.1).

Examples

1
2
3
4
5
6
7
str(PBIB)
if (require("lme4", quietly = TRUE, character = TRUE)) {
  options(contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
  ## compare with output 1.7  pp. 24-25
  print(fm1PBIB <- lmer(response ~ Treatment + (1|Block), PBIB))
  print(anova(fm1PBIB))
}