When , the estimator that minimizes the error is given by
This will yield the Minimum Variance Unbiased Estimator, which is also efficient.
We can find either by solving the equation directly, or by using the Cramer-Rao Lower Bound (see resource). This will yield
And the covariance matrix is given by
Warning
This solution is only valid when is invertible. This is fulfilled as long as there are more observations, , than unknowns, , and the observation matrix don’t have columns that are linearly dependent.
This comes from
Which is not directly solvable in terms of since in general is not invertible ().Where , we have observations and the parameter vector has elements.
Link to original