Title: Theory and statistical accuracy of spectral analysis