A scatter diagram includes the data points (x=3,y=8),(x=5,y=18),(x=7,y=30),and (x=9,y=32). Two regression lines are proposed: (1)yˆ=5+3x, and (2) yˆ=22+4x. Using the least- squares criterion, which of these regression lines is the better fit to the data?
The first line "\\hat{y}=5+3x"
The sum of the squared deviations between observed and predicted y values is
The second line "\\hat{y}=-2+4x"
The sum of the squared deviations between observed and predicted y values is
Since "56>24," then according to the least-squares criterion, the second line "\\hat{y}=-2+4x" is a better fit to the data than the first line "\\hat{y}=5+3x."
Comments
Leave a comment