usair: US air pollution data set

Description Usage Format Source References Examples

Description

US air pollution data set taken from Hand et al. (1994) data set 26, USAIR.DAT, originally from Sokal and Rohlf (1981).

Usage

1

Format

A data frame with 41 observations on the following 7 variables.

y

a numeric vector: sulpher dioxide concentration in air mgs. per cubic metre in 41 cities in the USA

x1

a numeric vector: average annual temperature in degrees F

x2

a numeric vector: number of manufacturers employing >20 workers

x3

a numeric vector: population size in thousands

x4

a numeric vector: average annual wind speed in miles per hour

x5

a numeric vector: average annual rainfall in inches

x6

a numeric vector: average number of days rainfall per year

Source

Hand et al. (1994) data set 26, USAIR.DAT, originally from Sokal and Rohlf (1981)

References

Hand, D. J., Daly, F., Lunn, A. D., McConway, K. J. and Ostrowski, E. (1994), A handbook of small data sets, Chapman and Hall, London.

Examples

1
2
3
4
5
6
7
8
data(usair)
str(usair) 
plot(usair)
# a possible gamlss model
# gamlss(library)
#ap<-gamlss(y~cs(x1,2)+x2+x3+cs(x4,2)+x5+cs(x6,3)+x4:x5, 
#               data=usair, family=GA(mu.link="inverse"))
# 


Search within the gamlss.data package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.