I have a doubt about the proof of the fact that a positive semi-definite matrix is a covariance matrix. The professor do the following proof:
Let $\Sigma$ be a positive semi-definite $p \times p$ matrix with range $r \leq p$. Then, exists a $p \times r$ matrix $C$ (with range $r$) such that $$\Sigma = C\cdot C^T$$ Then, let $X_1,\ldots,X_r$ be $r$ independent random variables wiht expected value 0 and covariance matrix $I_r$. So, we have that \begin{align*} \text{Cov}(CXC^T) &= C\cdot \text{Cov}(X)\cdot C^T \\ &= C \cdot I_r \cdot C^T \\ &= C \cdot C^T = \Sigma \end{align*} where $X=(X_1,\ldots,X_r)$.
My question is ¿Do the r.v's $X_1,\ldots,X_r$ need to be independent? I think that the only requirement is that $\text{Cov}(X) = I_r$, but my proffesor told me that they HAVE to be independent. I just don't get it.
Thanks for the help.