Solution

ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2024/paper-1/b3/b/solution

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.

New to topics? Read the docs here!