powered by

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

data(usair)

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

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

a numeric vector: average annual temperature in degrees F

a numeric vector: number of manufacturers employing >20 workers

a numeric vector: population size in thousands

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

a numeric vector: average annual rainfall in inches

a numeric vector: average number of days rainfall per year

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.

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")) #

Run the code above in your browser using DataLab