Each prediction is a linear combination of the constant parameter and the coefficient of . Thus the design matrix is
Its th row multiplied by the parameter vector gives the required prediction .
Compute the two sides of the normal equations for linear least squares and divide by :
The first equation gives . Substitute this into the second and solve:
These simple linear regression coefficients are unique provided the observed distances are not all equal, since
The condition alone does not guarantee this. If all , the design matrix has matrix rank one and the valid alternative is the family
In this rank-deficient ordinary least squares case, the fitted predictions are uniquely but the two parameters cannot be separately determined.

Articles by others on the same topic (0)

There are currently no matching articles.