Testing Equivalence of Observed and Generated Time Series Data by Spectral Methods