Answer to Question #219765 in Statistics and Probability for Prisy

Question #219765

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?


1
Expert's answer
2021-07-23T07:31:17-0400

The first line "\\hat{y}=5+3x"


"\\def\\arraystretch{1.5}\n \\begin{array}{c:c:c}\n x & y & \\hat{y} \\\\ \\hline\n 3 & 8 & 14 \\\\\n \\hdashline\n 5 & 18 & 20 \\\\\n \\hdashline\n 7 & 30 & 26 \\\\\n \\hdashline\n 9 & 32 & 32 \\\\\n \n\\end{array}"

The sum of the squared deviations between observed and predicted y values is


"(8-14)^2+(18-20)^2+(30-26)^2+(32-32)^2=56"

The second line "\\hat{y}=-2+4x"


"\\def\\arraystretch{1.5}\n \\begin{array}{c:c:c}\n x & y & \\hat{y} \\\\ \\hline\n 3 & 8 & 10 \\\\\n \\hdashline\n 5 & 18 & 18 \\\\\n \\hdashline\n 7 & 30 & 26 \\\\\n \\hdashline\n 9 & 32 & 34 \\\\\n \n\\end{array}"

The sum of the squared deviations between observed and predicted y values is


"(8-10)^2+(18-18)^2+(30-26)^2+(32-34)^2=24"

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."


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS