Learn R Programming

SMPracticals (version 1.4-3.1)

pneu: Pneumoconiosis amongst Coalminers

Description

This gives the degree of pneumoconiosis (normal, present, or severe) in a group of coalminers as a function of the number of years worked at the coalface. The degree of the disease was assessed radiologically and is qualitative.

Usage

data(pneu)

Arguments

Format

A data frame with 8 observations on the following 4 variables.

Years

Period of exposure (years worked at the coalface)

Normal

Number of miners with normal lungs

Present

Number of miners with disease present

Severe

Number of miners with severe disease

References

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

Examples

Run this code
data(pneu)
summary(glm(cbind(Present+Severe,Normal)~log(Years),data=pneu,binomial))
summary(glm(cbind(Severe,Normal+Present)~log(Years),data=pneu,binomial))

Run the code above in your browser using DataLab