Skip to content
Prev 261874 / 398502 Next

generating random covariance matrices (with a uniform distribution of correlations)

On Fri, Jun 03, 2011 at 01:54:33PM -0700, Ned Dochtermann wrote:
I see. I overlooked that you require correlations and not
covariances.

The distribution of correlations cannot be chosen arbitrarily,
since it is not possible to have k variables, such that each
two of them have correlation less than -1/(k-1). For example,
it is not possible that all pairs among 3 variables have
correlation less than -0.5.

The reason is as follows. If X_1, ..., X_k have mean 0,
variance 1 and all pairs have correlation at most c, then

  E (X_1 + ... + X_k)^2 <= k(1 + (k-1)c)

If c < -1/(k-1), then the right hand side is negative,
which is not possible.

Can you relax the requirement on the negative correlations?

Petr.