Can this be simplified to below?
$$\frac{(\sum_{i=1}^{n} X_i Y_i)}{(\sum_{i=1}^{n} X_i^2)} = \frac{\sum_{i=1}^{n} Y_i}{\sum_{i=1}^{n} X_i}$$
Can this be simplified to below?
$$\frac{(\sum_{i=1}^{n} X_i Y_i)}{(\sum_{i=1}^{n} X_i^2)} = \frac{\sum_{i=1}^{n} Y_i}{\sum_{i=1}^{n} X_i}$$
No, if the $X_i$ are not all the same.