The TIMESERIES Procedure |
This example illustrates the use of spectral analysis.
The following statements perform a spectral analysis on the SUNSPOT dataset. The periodogram and estimated spectral density are displayed as a function of the period in Output 29.4.1 and frequency in Output 29.4.2.
title "Wolfer's Sunspot Data"; proc timeseries data=sunspot plot=(series spectrum); var wolfer; id year interval=year; spectra freq period p s / adjmean bart c=1.5 expon=0.2; run;
Copyright © SAS Institute, Inc. All Rights Reserved.