10 Study Two: Operations on Daily Weather Data and Ozone Levels
Using the MOD Function to Group Data Values
Computing a Moving Average for a Single Variable
Introduction
Data for this chapter consists of daily ozone levels, daily pollen and spore counts, and maximum daily temperature from May 1, 1995, to July 31, 1995. The techniques that will be demonstrated include computing weekly and moving averages. These techniques are useful to show trends in data values over time when there are large day-to-day fluctuations in the values. Economists use moving averages to look at stock prices or other values when they want to examine long-term trends.
The OZONE Data Set
Run Program Appendix-4
Get Longitudinal Data and SAS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.