# N Random Variables

Three Random Variables Part II.

In Part I, I presented the algebraic solution to the problem of what the possible range of correlation is given all three random variables have the same pairwise correlation. Things get a little more interesting when there are more of them, but the idea still holds.

## Problem Formulation

$N$ random variables $x_1$, $x_2$, …, $x_N$ have the same pairwise correlation $\rho$, where $N \geq 2$. Find the upper and lower bound of such $\rho$.

## Solution

The correlation matrix of $x_1$, $x_2$, …, $x_N$ can be written as:

Generally, $P$’s leading principal minor of order $i$ has the form of:

If $\rho = 1$, we have:

If $\rho \neq 1$, we can find the equivalent upper-triangle of $M_{i}$ by performing two elementary row operations:

- substract the last row from every other row;
- add every other row multiplied by $\rho / (\rho - 1)$ to the last row.

which also happens to be $0$ when $\rho = 1$.

From Part I, we know that all leading principal minors of $P$ need to be non-negative. Solving the system of inequalities:

will give us the permissible range of $\rho$:

## Implications

The general form of lower bound suggests that it is *always* possible for every pair of random variables to have negative correlation, regardless of how many of them there are.

Back to the graphical analogy, the angle between each pair of vectors becomes $\arccos -1 / (N - 1)$, pushing them towards being orthogonal to each other in the limit.