Suppose a graduate student does a survey of undergraduate study habits on his university campus. He collects data on students who are in different 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 Year in College Course Work Hours per Class 1 Freshman (1) 7 2 Sophomore (2) 5 3 Junior (3) 4 4 Senior (4) 4
Suppose a graduate student does a survey of undergraduate study habits on his university campus. He collects data on students who are in different 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 Year in College Course Work Hours per Class 1 Freshman (1) 7 2 Sophomore (2) 5 3 Junior (3) 4 4 Senior (4) 4
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Suppose a graduate student does a survey of undergraduate study habits on his university campus. He collects data on students who are in different 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
|
Year in College
|
Course Work Hours per Class
|
---|---|---|
1 | Freshman (1) | 7 |
2 | Sophomore (2) | 5 |
3 | Junior (3) | 4 |
4 | Senior (4) | 4 |
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 (MXX, MYY), where MXX is the mean year for the four students (1, 2, 3, and 4) in the sample and MYY 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 (MXX, MYY).
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?
a) Y = –2X + 9
b) Neither—the two lines fit the data equally well
c) 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 ________?_________ .
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman