回答:
#Y = -1.226666 + 0.1016666 * X#
说明:
#bar X =(12 + 13 + 14 + … + 20)/ 9 = 9 *(12 + 20)/(2 * 9)= 16#
#bar Y =(0 + 0.1 + 0.2 + 0.2 + 0.5 + 0.5 + 0.6 + 0.7 + 0.8)/ 9 = 0.4#
#hat beta_2 =(sum_ {i = 1} ^ {i = 9} x_i * y_i)/(sum_ {i = 1} ^ {i = 9} x_i ^ 2)#
#“with”x_i = X_i - bar X“和”y_i = Y_i - bar Y#
#=>帽子beta_2 =#
#(4*0.4+3*0.3+2*0.2+0.2+0.1+2*0.2+3*0.3+4*0.4)/((4^2+3^2+2^2+1^2)*2)#
#= (1.6+0.9+0.4+0.2+0.1+0.4+0.9+1.6)/60#
#= 6.1/60#
#= 0.10166666#
#=> hat beta_1 = bar Y - hat beta_2 * bar X#
#= 0.4 - (6.1/60)*16#
#= -1.226666#
#“所以回归线是”#
#Y = -1.226666 + 0.1016666 * X#