I am attempting to build a Walsh-Fourier spectral density and it appears that it is first required to compute the logical covariance which in turn involves a dyadic add.
I am not at all familiar with dyadics or their operations and introductory references are hard to come by. In Stoffer (1988) the logical covariance of a categorical series $X(0), X(1),\dots,X(N-1)$ is described as being: \begin{align} \tau(j)=N^{-1} \sum_{j=0}^{N-1} \gamma(j\oplus k-k) \end{align} where $j\oplus k$ is the dyadic addition. $\gamma$, is our usual autocovariance, $\gamma(h)=cov\{X(n), X(n+h)\}$.
The Walsh-Fourier spectral density is then:
\begin{align} f(\lambda)=\sum_{j=0}^{\infty}\tau(j)W(j, \lambda) \end{align}
where $W(j, \lambda)$ is the $j$th sequency (zero-crossings) with $0\leq\lambda < 1$.
I'm sure a HMM would be great for categorical times series but at the moment I am restricted to spectral analysis so I must continue with this approach. It's not exactly homework. It's a final project that has moved a little beyond the coursework. The professor is a little hard to get a hold of and thus the question is posed here.
Is it just addition? I haven't even been able to confirm that.