Problem Set: Chapter 14 Correlation and Regression years in college by asking them how many hours of course work they do for each class in a typical week. A sample of four students provides the following data on year in college and hours of course work per class: Student 1 2 3 4 HOURS 10 Year in College Freshman (1) Sophomore (2) Junior (3) Senior (4) A scatter plot of the sample data is shown here (blue circle symbols). The line Y = -2X + 9 is shown in orange. 0 O O Course Work Hours per Class 2 YEAR 5 4 4 O D A 0 Sum of Distances + (Mx, My) (?)

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
J 1
Is
ing
Problem Set: Chapter 14 Correlation and Regression
years in college by asking them how many hours of course work they do for each class in a typical week. A sample of four students provides the
following data on year in college and hours of course work per class:
Student
1
2
3
4
10
Year in College
Freshman (1)
Sophomore (2)
Junior (3)
Senior (4)
A scatter plot of the sample data is shown here (blue circle symbols). The line Y-2X + 9 is shown in orange.
□
Course Work Hours per Class
7
5
4
4
O
YEAR
O
D
A
1.
0 Sum of Distances
+
(Mx, My)
(?)
Transcribed Image Text:Is ing Problem Set: Chapter 14 Correlation and Regression years in college by asking them how many hours of course work they do for each class in a typical week. A sample of four students provides the following data on year in college and hours of course work per class: Student 1 2 3 4 10 Year in College Freshman (1) Sophomore (2) Junior (3) Senior (4) A scatter plot of the sample data is shown here (blue circle symbols). The line Y-2X + 9 is shown in orange. □ Course Work Hours per Class 7 5 4 4 O YEAR O D A 1. 0 Sum of Distances + (Mx, My) (?)
Think about how close the line Y = -2X + 9 is to the sample points. Look at the graph and find each point's vertical distance from the line. If the point
sits above the line, the distance is positive; if the point sits below the line, the distance is negative.
The sum of the vertical distances between the sample points and the orange line is, and the sum of the squared vertical distances between the
sample points and the orange line is .
On the graph, place the black point (X symbol) on the graph to plot the point (Mx, My), where Mx is the mean year for the four students (1, 2, 3, and
4) in the sample and My is the mean hours of course work per class for the four students (7, 5, 4, and 4) in the sample.
Then use the green line (triangle symbols) to plot the line that has the same slope as (is parallel to) the line Y = -2X + 9, but with the additional
property that the vertical distances between the points and the line sum to 0. To plot the line, drag the green line onto the graph. Move the green
triangles to adjust the slope.
The line you just plotted
through the point (Mx, My).
The sum of the squared vertical distances between the sample points and the line that you just plotted is
Which of the following describes the plotted line with the smallest total squared error?
ONeither-the two lines fit the data equally well
O Y = -2X + 9
O The line you plotted that has a sum of the distances equal to 0
Suppose you fit the regression line to the four sample points on the graph. On the basis of your work so far, being as specific as you can be, you know
that the total squared error is
e to search
O
DI
Grade It Now
H
Save & Continue
Continue without saving
103°F Partly=
Transcribed Image Text:Think about how close the line Y = -2X + 9 is to the sample points. Look at the graph and find each point's vertical distance from the line. If the point sits above the line, the distance is positive; if the point sits below the line, the distance is negative. The sum of the vertical distances between the sample points and the orange line is, and the sum of the squared vertical distances between the sample points and the orange line is . On the graph, place the black point (X symbol) on the graph to plot the point (Mx, My), where Mx is the mean year for the four students (1, 2, 3, and 4) in the sample and My is the mean hours of course work per class for the four students (7, 5, 4, and 4) in the sample. Then use the green line (triangle symbols) to plot the line that has the same slope as (is parallel to) the line Y = -2X + 9, but with the additional property that the vertical distances between the points and the line sum to 0. To plot the line, drag the green line onto the graph. Move the green triangles to adjust the slope. The line you just plotted through the point (Mx, My). The sum of the squared vertical distances between the sample points and the line that you just plotted is Which of the following describes the plotted line with the smallest total squared error? ONeither-the two lines fit the data equally well O Y = -2X + 9 O The line you plotted that has a sum of the distances equal to 0 Suppose you fit the regression line to the four sample points on the graph. On the basis of your work so far, being as specific as you can be, you know that the total squared error is e to search O DI Grade It Now H Save & Continue Continue without saving 103°F Partly=
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman