題組內容

2. Consider a linear regression in the form of y = ar +b with data points of (xi, yi), where i = 1,…,N.

(a) Derive the analytical expression of slope a and intercept b. [14%]