PBIB {SASmixed}R Documentation

A partially balanced incomplete block experiment

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

Details

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

library(SASmixed)
options(
  contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
data(PBIB)
formula( PBIB )
fm1PBIB <-
   lme( response ~ Treatment, data = PBIB, random = ~ 1 | Block)
summary( fm1PBIB )     # compare with output 1.7  pp. 24-25
VarCorr( fm1PBIB )
anova( fm1PBIB )