3
$\begingroup$

I'm looking at random vectors $z$ of size $d^2$ which can be written as $z=x\otimes y$ where $x$,$y$ are random vectors in $\mathbb{R}^d$ with following second moments known -- $E[XX']$, $E[YY']$ and $E[XY']$. First moments are 0.

Given a new vector $\hat{z}=\hat{x}\otimes \hat{y}$, I need to approximately divide it by covariance matrix of $z$, which needs to be estimated from 3 moments matrices above. If $E[XY']$ is zero, then division is straightforward

$$\text{cov}(z)^{-1}\hat{z} = E[XX']^{-1} \hat{x} \otimes E[YY']^{-1} \hat{y}$$

However, in my case $E[XY']$ is not 0, and this estimate will incur an error. Is there some systematic way to incorporate $E[XY']$ to correct this?

$\endgroup$
0

1 Answer 1

3
$\begingroup$

(Converted to an answer from my comments and expanded.)

Basically you need to compute the fourth moments $E[x_i x_j y_k y_l]$ for all $i,j,k,l$, given the second moments. These fourth moments are not universally determined, but they depend on the distribution of your variables, even in the one-dimensional case (that's exactly the reason why kurtosis is a thing). (In particular, if $x$ and $y$ are uncorrelated but not independent, I strongly suspect that even your formula for the case $E[xy']=0$ is wrong since it seems that you derived it using independence.)

Since you are asking for an approximation, though, not everything is lost. You may compute the value of that expression under the assumption that $x$ and $y$ are Gaussian; even if they are not, hopefully it serves as a reasonable approximation of the true covariance if their distribution is not too extreme.

For Gaussian variables, the result is given by Isserlis' theorem: $$ cov(x\otimes y)_{di+k,dj+l} = E[x_ix_jy_ky_l] = E[x_ix_j]E[y_ky_l] + E[x_iy_k]E[x_jy_l] + E[x_iy_l]E[x_jy_k]. $$ If you set $cov(x)=V,cov(y)=W$, then the first summand gives the matrix $V\otimes W$ that you have already found; the second gives the rank-1 matrix $vec(V)vec(W)'$, and I don't see immediately a nice expression for the third. You can compute all the matrix entries easily, but I don't see immediately any linear algebra tricks to perform the inversion by reducing it to the inversion of $n\times n$ matrices, as it happened instead in your special case.

$\endgroup$
3
  • $\begingroup$ Thanks, that's indeed quite relevant! This formula means that my covariance should be written as a sum of two Kronecker products, so I may need to look at kronecker product tricks that apply to inverse of sum of two matrices (it seems one formula is math.stackexchange.com/questions/17776/…) $\endgroup$ Commented Sep 25, 2019 at 18:41
  • 1
    $\begingroup$ Thanks for the good starting point, it seems after applying Isserlis' and some Kronecker rearranging, dividing by this covariance matrix reduces to solving Sylvester matrix equation on small matrices: wolframcloud.com/obj/yaroslavvb/newton/isserlis-inversion.nb $\endgroup$ Commented Sep 26, 2019 at 6:05
  • $\begingroup$ Nice, I had missed that Sylvester rearranging. Thanks for sharing this solution, this was an interesting read. $\endgroup$ Commented Sep 26, 2019 at 6:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.