Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
observations were not equally weighted, the solution would look like: In OLS, W is the identity matrix and is therefore omitted. But what if it is not the identity, as in weighted least squares? We keep the independence assumption, so W is a diagonal matrix. Each entry on the diagonals should be