| AirQuality {bestglm} | R Documentation |
Daily ozone pollution with meteorlogical and date inputs
Description
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).
Usage
data(AirQuality)
Format
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
MayJunJulAugSepOctNovDecJanFebMarAprweekdayinput, a factor with levels
SundayMondayTuesdayWednesdayThursdayFridaySaturdayOzoneoutput, a numeric vector
Details
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.
Source
References
Cleveland, W.S. (1993). Visualizing Data.
Examples
data(AirQuality)
#Example 1. Find best model
bestglm(AirQuality, IC="BIC")