Question

In: Statistics and Probability

8. Linear equations and the regression line Suppose a graduate student does a survey of undergraduate...

8. Linear equations and the regression line

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) 7
3 Junior (3) 2
4 Senior (4) 2

A scatter plot of the sample data is shown here (blue circle symbols). The line Y = –X + 6 is shown in orange.

0 Sum of Distances(Mx, My)0123451086420HOURSYEAR

Think about how close the line Y = –X + 6 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, 7, 2, and 2) 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 = –X + 6, 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?

Y = –X + 6

The line you plotted that has a sum of the distances equal to 0

Neither—the two lines fit the data equally well

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     .

Solutions

Expert Solution

sum of distance = -1

sum of squared distance = 9

y^ = 5.75 - x

this line passes through (2.5,3.25)

sum of squared distance = 8.750

New line has smallest total squared error

The line you plotted that has a sum of the distances equal to 0


Related Solutions

Activity 9: Linear Regression and Correlation Analysis Scenario: A graduate student has administered a pro-inflammatory substance,...
Activity 9: Linear Regression and Correlation Analysis Scenario: A graduate student has administered a pro-inflammatory substance, lipopolysaccharide (LPS), to humans in the form of a pill (several doses – 0mg or placebo, 5mg, 10mg, and 15mg). She then determines the blood concentration of a particular protein that is thought to be upregulated due to LPS (mg) called Inflammotin (pg/ml) using ELISA. Find the linear model and the correlation coefficient of the experimental data (in JMP and Excel) using the data...
In a simple linear regression analysis, will the estimate of the regression line be the same...
In a simple linear regression analysis, will the estimate of the regression line be the same if you exchange X and Y? Why or why not?
A graduate student surveyed 220 undergraduate students in a university last week, and found 165 of...
A graduate student surveyed 220 undergraduate students in a university last week, and found 165 of them prefer F2F classes to online classes. Test the claim that more than 70% of the students at this university prefer F2F classes at the 5% significance level. Include all 5 steps. Need by 3pm pacific! please help me out !
How can the use of linear equations and inequalities assist you with linear regression to make...
How can the use of linear equations and inequalities assist you with linear regression to make predictions?
Linear regression Hello What does it mean that the residuals in linear regression is normal distributed?...
Linear regression Hello What does it mean that the residuals in linear regression is normal distributed? Why is it only the residuals that is, and not the "raw" data? And why do we want our residuals to be normal?
What info does the Linest array function give you with respect to the linear regression line?
What info does the Linest array function give you with respect to the linear regression line?
Are these equations written in the general linear regression model? Yi = B0 + B1X1i +...
Are these equations written in the general linear regression model? Yi = B0 + B1X1i + B2 log(X2i) + B3X1i2 + ei Yi = ei exp(B0 + B1X1i + B2 log(X2i) + B3X3i) Yi = B0 exp(B1X1i) + ei
Complete all of the steps to derive the normal equations for simple linear regression and then...
Complete all of the steps to derive the normal equations for simple linear regression and then solve them.
Draw a scatterplot with a linear regression line for which the condition E(ui|Xi)=0 does not hold...
Draw a scatterplot with a linear regression line for which the condition E(ui|Xi)=0 does not hold for all Xi, but E(ui)=0. Be sure to explain how your scatterplot satisfies these criteria.
In simple linear regression analysis, the least squares regression line minimizes the sum of the squared...
In simple linear regression analysis, the least squares regression line minimizes the sum of the squared differences between actual and predicted y values. True False
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT