cloth: Numbers of Flaws in Lengths of Cloth

Description Usage Format Source References Examples

Description

The data comprise lengths of cloth samples and the numbers of flaws found in them.

Usage

1

Format

A data frame with 32 observations on the following 2 variables.

x

The length of the roll of cloth.

y

The number of flaws found in the roll.

Source

Bissell, A. F. (1972) A negative binomial model with varying element size. Biometrika, 59, 435–441.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 515.

Examples

1
2
3
4
5
6
data(cloth)
attach(cloth)
plot(x,y)
# Comparison of Poisson and quasilikelihood fits
summary(glm(y~x-1,family=poisson(identity)))
summary(glm(y~x-1,family=quasipoisson(identity)))

SMPracticals documentation built on May 2, 2019, 11:12 a.m.