Learn R Programming

mdscore (version 0.1-3)

strength: Impact Strength an Insulating Material

Description

The dataset is a subsample of the 5 x 2 factorial experiment given by Ostle and Mensing (1963).

Usage

data(strength)

Arguments

Format

A data frame with 30 observations on the following 3 variables.
cut
type of specimen cut.
lot
lof of the material -- I, II, III, IV and V.
y
observations of the impact strength.

Examples

Run this code
data(strength)
fitf <- glm(y ~ cut * lot, data = strength,family = inverse.gaussian("inverse"))
summary(fitf)
X <- model.matrix(fitf, data = strength)
fit0 <- glm(y ~ cut + lot, data = strength, family = inverse.gaussian("inverse"))
test <- mdscore(fit0, X1=X[, 7:10])
summary(test)

Run the code above in your browser using DataLab