cloth | R Documentation |
The data comprise lengths of cloth samples and the numbers of flaws found in them.
data(cloth)
A data frame with 32 observations on the following 2 variables.
The length of the roll of cloth.
The number of flaws found in the roll.
Bissell, A. F. (1972) A negative binomial model with varying element size. Biometrika, 59, 435–441.
Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 515.
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.