Is this$$γ(h) = 1(h = 0) − 0.5 · 1(|h| = 2) − 0.25 · 1(|h| = 3)$$an autocovariance function?
How to check this? Is there a method one can use to check if a given function is an autocovariance funtion? I have found nothing in my "time series analysis" notes.
Nevermind I solved it.
For the spectral density we have $$f(\omega)=\frac{1}{2\pi}\sum_{h=-\infty}^{\infty}e^{-ih\omega}\rho(h)=\frac{1}{2\pi}(1-0.5e^{-i2\omega}-0.5e^{i2\omega}-0.25e^{-i3\omega}-0.25e^{i3\omega})=\frac{1}{2\pi}(1-\cos(2\omega)-0.5\cos(3\omega)),\mbox{ }\omega\in[-\pi,\pi].$$
For $\omega=0$ we have $f(0)=-\frac{1}{4\pi}<0$. The spectral density must be non-negative so this is not an ACVF.