Learn R Programming

SASmixed (version 0.1-7)

Bond: Strengths of metal bonds

Description

The Bond data frame has 21 rows and 3 columns of data on the strength required to break metal bonds according to the metal and the ingot.

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.2.4).

Mendenhall, M., Wackerly, D. D. and Schaeffer, R. L. (1990), Mathematical Statistics, Wadsworth (Exercise 13.36).

Examples

Run this code
data(Bond)
options(
  contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
formula(Bond)                    # check the formula
fm1Bond <- lme( pressure ~ Metal, data = Bond, random = ~ 1 | Ingot)
summary( fm1Bond )               # compare with output 1.1 on p. 6
VarCorr( fm1Bond )               # variance component estimates 
anova( fm1Bond )

Run the code above in your browser using DataLab