Learn R Programming

SASmixed (version 0.1-7)

PBIB: A partially balanced incomplete block experiment

Description

The PBIB data frame has 60 rows and 3 columns.

Arguments

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

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

Run the code above in your browser using DataLab