The following data give the annual incomes (in thousands of dollars) and amounts (in thousands of dollars) of life insurance policies for eight persons.
Annual income
|
42
|
58
|
27
|
36
|
70
|
24
|
53
|
37
|
Life insurance
|
150
|
175
|
25
|
75
|
250
|
50
|
250
|
100
|
Calculate the least-squares regression line for these data using matrix operations.