由题意可知n=6,
.
x =
1
n
n
i=1 x i =
21
6 =
7
2 ,
.
y =
1
n
n
i=1 y i =
13
6 ,
故
n
i=1
x 2i -n
.
x 2 =91-6× (
7
2 ) 2 =
35
2 ,
n
i=1 x i y i -n
.
x
.
y =58-6×
7
2 ×
13
3 =-33,
故可得
̂
b =
n
i=1 x i y i -n
.
x
.
y
n
i=1
x 2i -n
.
x 2 =
-33
35
2 = -
66
35 ,
̂
a =
.
y -b
.
x =
13
3 +
66
35 ×
7
2 =
229
30 ,
而由直线方程的求解可得b′=
0-2
1-2 =2,把(1,0)代入可得a′=-2,
比较可得
̂
b <b′,
̂
a >a′,
故选C