Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-4/30j/c/solution

Write
The ordinary least squares estimators give
where
The denominator is positive because the sorted inputs are distinct and .

New to topics? Read the docs here!