Im working on some school exercises and just cant figure out how to find answer:
First, I would like to regress $Y_i$ exclusively on the intercept and compute its residual $u_{Y_i}$. Secondly, I would like to regress $X_i$ exclusively on the intercept and compute its residual $u_{X_i}$. Based on that, I would like to derive least squares estimator without an intercept of a regression of $u_{Y_i}$ on $u_{X_i}$
I have tried to think about the first part as regressing $Y_i$ on a constant returning Y mean. However, I just cant figure out the rest. Many thanks for any hints.