I am not having luck finding SAS code for plotting a 5 year or 10 year moving average through some climate data. I have 120 years of heating degree-day data. I want to plot a moving average through the 120 data points. The data are a list of degree-day values, and a list of years. 120 observations, 2 variables HDD and YEAR. I have already plotted the data points over time with proc plot. I also plotted a regression line through the data, however I need to also 1. plot a solid line (zig zag) that connects the data points 2.plot a 5 or 10 tear moving average theough the data in order to see a smoothed trend I have not been able to find a smoothing option for plotting data. I am using SAS 9.4 University Is it possible? Thanks, DE
... View more