Find the variance of sum of $10$ random variables if each has variance $5$ and if each pair has a correlation coefficient $.5$
Let $Y=X_1+X_2+X_3+\ldots+X_{10}$
I tried this problem by calculating variance of first $10$ random variables. $V(Y)=50$. Then there will be $45$ pairs of covariance terms.
Correlation coefficient $\rho=.5$
$Cov(X_i,X_j)=2.5 $
Which gives variance $V(Y)=50+2.5=52.5$
Did i do everything right, please someone tell me.
You did not make use of the number $45$, the number of pairs of covariance terms, in your final answer though you should.
Note that we have
\begin{align}\operatorname{Var}\left(\sum_{i=1}^nX_i\right) &= \sum_{i=1}^n\operatorname{Var}(X_i)+\color{blue}{2\sum_{i<j }} \operatorname{Cov(X_i,X_j)} \\ &=50+90 \times 2.5 \\ &=275\end{align}