1
$\begingroup$

I was reading a book on econometrics and I found this algebraic transformation and I don't know how I can get there.I would appreciate some help.
$\sum_{i=1}^n (X_i-\bar{X})\cdot (Y_i-\bar{Y})=\sum_{i=1}^n (X_i-\bar{X})\cdot Y_i=\sum_{i=1}^n X_i\cdot (Y_i-\bar{Y}) $

$\endgroup$

1 Answer 1

7
$\begingroup$

$\sum_{i=1}^n(X_i -\bar{X})(Y_i -\bar{Y}) =\sum_{i=1}^n(X_i -\bar{X})(Y_i) -\sum_{i=1}^n(X_i -\bar{X})\bar{Y} $

The key is that $\bar{Y}$ is a constant, so we can bring it in front of the summation.

$=\sum_{i=1}^n(X_i -\bar{X})(Y_i) -\bar{Y}\sum_{i=1}^n(X_i -\bar{X}) $

Then apply, $\sum_{i=1}^n(X_i -\bar{X})=0$.

It's an analogous argument for the other equality.

$\endgroup$

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.