1. Age, X is the independent variable
8,3,6,9,2,5,6,32. Price, Y the dependent variable
45,210,100,33,267,134,109,2353.
XΛ=n1βiββXiβ=842β=5.25YΛ=n1βiββYiβ=81133β=141.625SSXXβ=iββXi2ββn1β(iββXiβ)2=264β8(42)2β=43.5SSYYβ=iββYi2ββn1β(iββYiβ)2=213565β8(1133)2β=53103.875SSXYβ=iββXiβYiββn1β(iββXiβ)(iββYiβ)=4450β842(1133)β=β1498.25Ξ²1β=SSXXβSSXYββ=43.5β1498.25β=β34.442529Ξ²0β=YΛβΞ²1ββ
XΛ=141.625+43.51498.25β(5.25)=322.448276The regression equation is:
Y=322.448276β34.442529X4.
Y(7)=322.448276β34.442529(7)=81.35The price of a 7-year-old car of this mode will be 81.35.
5.
Y(18)=322.448276β34.442529(18)
=β297.52<0A 18-year-old car of this mode does not exist.
322.448276β34.442529Xβ₯0Xβ€9.36The price of a 9-year-old car of this mode will be 12.47.
A 10-year-old car of this mode does not exist.
Comments