According to https://en.m.wikipedia.org/wiki/Ordinary_least_squares, the OLS estimator gives each individual's dependent variable a weight, and the weights depend on regressors like below:
As was mentioned before, the estimator $ {\hat {\beta }}$ is linear in $y$, meaning that it represents a linear combination of the dependent variables $y_i$. The weights in this linear combination are functions of the regressors $X$, and generally are unequal.
Here, I am not sure how the OLS estimator gives each $y_i$ the weights that consist of $X$.
Could you show me the precise expression of the linear combination mentioned above?