題組內容
2. Consider a linear regression in the form of y = ar +b with data points of (xi, yi), where i = 1,…,N.
申論題內容
(b) Calculate a and b for the following data points: (-2, -1), (1, 1) and (3, 2) [7%] (NOTE: you can express your answers as ratio instead of decimal number, for example 11/10 instead of 1.1)