Linear model Poly1:
f(x) = p1*x + p2
Coefficients (with 95% confidence bounds):
p1 = 0.7138 (-0.02747, 1.455)
p2 = 19.63 (8.674, 30.58)
Goodness of fit:
SSE: 1983
R-square: 0.1853
Adjusted R-square: 0.14
RMSE: 10.5
Linear model Poly2:
f(x) = p1*x^2 + p2*x + p3
Coefficients (with 95% confidence bounds):
p1 = -0.2469 (-0.3033, -0.1906)
p2 = 7.7 (6.076, 9.325)
p3 = -18.64 (-28.51, -8.767)
Goodness of fit:
SSE: 328.8
R-square: 0.8649
Adjusted R-square: 0.849
RMSE: 4.398
Linear model Poly3:
f(x) = p1*x^3 + p2*x^2 + p3*x + p4
Coefficients (with 95% confidence bounds):
p1 = 0.008384 (-0.001106, 0.01787)
p2 = -0.6106 (-1.026, -0.1956)
p3 = 12.32 (6.874, 17.77)
p4 = -34.84 (-55.39, -14.3)
Goodness of fit:
SSE: 269.7
R-square: 0.8892
Adjusted R-square: 0.8684
RMSE: 4.106
看拟合效果,对于SSE,poly3最好,对于R-square:poly1最好,对于Adjusted R-square: poly1最好,对于RMSE: poly3最好,从图形上看,poly2和poly3较好
作业帮用户
2017-06-20
举报