Perform Spectral Analysis of a Time Series

    
Generate a sample path from an ARProcess[1]:
Compute smoothed estimates of the PowerSpectralDensity of the data:
The theoretical PowerSpectralDensity for the ARProcess: