(1)由题意知
.
x =
2+3+4+5+6
5 =4,
.
y =
2.2+3.8+5.5+6.5+7.0
6 =5
b=
2×2.2+3×3.8+4×5.5+5×6.5+6×7-5×4×5
4+9+16+25+36-5×16 =1.23,
a=5-4×1.23=0.08,
故线性回归方程是
y =1.23x+0.08.
(2)根据第一问知线性回归方程是
y =1.23x+0.08
当自变量x=10时,预报维修费用是y=1.23×10+0.08=12.38
(1)由题意知
.
x =
2+3+4+5+6
5 =4,
.
y =
2.2+3.8+5.5+6.5+7.0
6 =5
b=
2×2.2+3×3.8+4×5.5+5×6.5+6×7-5×4×5
4+9+16+25+36-5×16 =1.23,
a=5-4×1.23=0.08,
故线性回归方程是
y =1.23x+0.08.
(2)根据第一问知线性回归方程是
y =1.23x+0.08
当自变量x=10时,预报维修费用是y=1.23×10+0.08=12.38