Choose the diagonal matrix . Multiplying a vector by scales its th component by . Therefore
The Euclidean norm objective for ordinary linear least squares on is exactly the weighted least squares objective, so the sets of minimizing vectors coincide. Zero weights simply discard the corresponding residuals.
Apply the least-squares normal equations to the transformed matrix and vector:
or equivalently
Here . A unique minimizing vector exists when the weighted design matrix has full column rank; the equations themselves remain valid without that assumption.
Using the paper's named weights , take
The least-squares normal equations for weighted least squares become
Multiplying by four gives and . Their determinant is , giving
Thus, to two significant digits, , with the slope measured in expression units per hour.
There is a wording convention to make explicit. Because the stated objective squares , the choice above gives the final two squared residuals one-quarter of the influence of the others. If “half as much” instead means half the coefficient of each squared residual, use . Then the least-squares normal equations are
giving and . Stating which quantity is halved resolves the ambiguity.

Articles by others on the same topic (0)

There are currently no matching articles.