This command evaluates the evolutionary wavelet spectrum of a
multivariate time series. The order of operations are as follows:
Calculate the non-decimated wavelet coefficients \(\{d^{p}_{j,k}\}\)
for levels j = 1,…,J, locations k = 0,ldots,T-1 (T=\(2^J\)) and signals
p = 1,…,P(=ncol(X)). The raw periodogram matrices are
then evaluated by \(I^{(p,q)}_{j,k} = d^{p}_{j,k}d^{q}_{j,k}\)
between any signal pair p & q.
The above estimator is inconsistent and so the matrix sequence is
smoothed: \(\tilde{I}^{(p,q)}_{j,k} = \sum_i W_i I^{(p,q)}_{j,k+i}\).
The kernel weights \(W_i\) are derived from the kernel command
and satisfy \(W_i=W_{-i}\) and \(\sum_i W_i = 1\). The optimal
parameter for the smoothing kernel is determined by minimising the
generalized cross-validation gamma deviance criterion:
$$GCV = \sum_{p,j} GCV(p,j)$$
$$GCV(p,j) = (T(1-W_0)^2)^{-1} \sum_{k=0}^{T-1} q_k D^{(p,p)}_{j,k}$$
$$D^{(p,p)}_{j,k} = R^{(p,p)}_{j,k} - log(R^{(p,p)}_{j,k}) - 1$$
$$R^{(p,p)}_{j,k} = \tilde{I}^{(p,p)}_{j,k} / I^{(p,p)}_{j,k}$$
where \(q_0=q_{T-1}=0.5\) and \(q_k=1\) otherwise. Note that the
criterion is not applicable on the wavelet cross-spectrum. A theshold
is applied to \(\tilde{I}\) and \(I\) in order to produce a valid
criterion estimate. In addition, the first summation is only applied
over the signals if smoothing is to be applied on a by-level basis.
The raw wavelet periodogram is also a biased estimator. A correction is
subsequently applied to the smoothed estimate as follows:
$$\hat{S}_{j,k} =\sum_{l=1}^{J} A_{j,l}^{-1} \hat{I}_{l,k}$$
Here, \(A_{j,l}\) denotes the wavelet autocorrelation inner product.
Finally, a threshold is applied to the eigenvalues of the EWS
\(\hat{S}_{j,k}\) to ensure that the matrices are positive definite.