| AirQuality {bestglm} | R Documentation |
This dataset was derived from the R built-in dataset 'airquality' by adding date information and deleting all missing values. This dataset is referred to as 'environmental' in Cleveland (1993).
data(AirQuality)
A data frame with 111 observations on the following 6 variables.
Solar.Rinput, a numeric vector
Windinput, a numeric vector
Tempinput, a numeric vector
monthinput, a factor with levels May Jun
Jul Aug Sep Oct Nov Dec Jan
Feb Mar Apr
weekdayinput, a factor with levels Sunday
Monday Tuesday Wednesday Thursday Friday
Saturday
Ozoneoutput, a numeric vector
Cleveland (1993, Chapter 5) presents an insightful analysis using co-plots and the scatterplot matrix. Several interesting interactions are noted. For a fixed 'Wind‘, the effect of ’Solar.R' changes as 'Temp' increases. And for a fixed 'Temp', as 'Wind' decreases, the effect of 'Solar.R' is less.
Cleveland, W.S. (1993). Visualizing Data.
data(AirQuality) #Example 1. Find best model bestglm(AirQuality, IC="BIC")