answersLogoWhite

0


Best Answer

Linear regression looks at the relationship between two variables, X and Y.

The regression line is the "best" line though some data you that you or someone else has collected.

You want to find the best slope and the best y intercept to be able to plot the line that will allow you to predict Y given a value of X.

This is usually done by minimizing the sum of the squares.

Regression Equation is y = a + bx

Slope(b) = (NΣXY - (ΣX)(ΣY)) / (NΣX2 - (ΣX)2)

Intercept(a) = (ΣY - b(ΣX)) / N

In the equation above:

X and Y are the variables given as an ordered pair (X,Y)

b = The slope of the regression line

a = The intercept point of the regression line and the y axis.

N = Number of values or elements

X = First Score

Y = Second Score

ΣXY = Sum of the product of first and Second Scores

ΣX = Sum of First Scores

ΣY = Sum of Second Scores

ΣX2 = Sum of square First Scores

Once you find the slope and the intercept, you plot it the same way you plot any other line!

User Avatar

Domenica Schneider

Lvl 9
2y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you plot regression line?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Statistics

How do you plot linear regression line?

Linear regression looks at the relationship between two variables, X and Y. The regression line is the "best" line though some data you that you or someone else has collected. You want to find the best slope and the best y intercept to be able to plot the line that will allow you to predict Y given a value of X. This is usually done by minimizing the sum of the squares. Regression Equation is y = a + bx Slope(b) = (NΣXY - (ΣX)(ΣY)) / (NΣX2 - (ΣX)2) Intercept(a) = (ΣY - b(ΣX)) / N In the equation above: X and Y are the variables given as an ordered pair (X,Y) b = The slope of the regression line a = The intercept point of the regression line and the y axis. N = Number of values or elements X = First Score Y = Second Score ΣXY = Sum of the product of first and Second Scores ΣX = Sum of First Scores ΣY = Sum of Second Scores ΣX2 = Sum of square First Scores Once you find the slope and the intercept, you plot it the same way you plot any other line!


What should you use to find the equation for a line of fit for a scatter plot?

Least squares regression is one of several statistical techniques that could be applied.


Why are there two regression lines?

There are two regression lines if there are two variables - one line for the regression of the first variable on the second and another line for the regression of the second variable on the first. If there are n variables you can have n*(n-1) regression lines. With the least squares method, the first of two line focuses on the vertical distance between the points and the regression line whereas the second focuses on the horizontal distances.


In a good regression model the residual plot shows?

a random pattern


Is the line of best fit the same as linear regression?

Linear Regression is a method to generate a "Line of Best fit" yes you can use it, but it depends on the data as to accuracy, standard deviation, etc. there are other types of regression like polynomial regression.

Related questions

What is the regression line that is superimposed on the scatter plot?

trur


What is a regression line that is superimposed on the scatter plot?

trur


What is a regression line that is superimposed on a scatter plot?

It guarantees that the slope and intercept are minimized.


Points that represent data values are connected using line segments?

Not necessarily. In a scatter plot or regression they would not.


How do you plot linear regression line?

Linear regression looks at the relationship between two variables, X and Y. The regression line is the "best" line though some data you that you or someone else has collected. You want to find the best slope and the best y intercept to be able to plot the line that will allow you to predict Y given a value of X. This is usually done by minimizing the sum of the squares. Regression Equation is y = a + bx Slope(b) = (NΣXY - (ΣX)(ΣY)) / (NΣX2 - (ΣX)2) Intercept(a) = (ΣY - b(ΣX)) / N In the equation above: X and Y are the variables given as an ordered pair (X,Y) b = The slope of the regression line a = The intercept point of the regression line and the y axis. N = Number of values or elements X = First Score Y = Second Score ΣXY = Sum of the product of first and Second Scores ΣX = Sum of First Scores ΣY = Sum of Second Scores ΣX2 = Sum of square First Scores Once you find the slope and the intercept, you plot it the same way you plot any other line!


What should you use to find the equation for a line of fit for a scatter plot?

Least squares regression is one of several statistical techniques that could be applied.


A point that is always on the regression line?

(mean x, mean y) is always on the regression line.


Why are there two regression lines?

There are two regression lines if there are two variables - one line for the regression of the first variable on the second and another line for the regression of the second variable on the first. If there are n variables you can have n*(n-1) regression lines. With the least squares method, the first of two line focuses on the vertical distance between the points and the regression line whereas the second focuses on the horizontal distances.


Given a linear regression equation of equals 20 - 1.5x where will the point 3 15.5 fall with respect to the regression line?

on the lineGiven a linear regression equation of = 20 - 1.5x, where will the point (3, 15) fall with respect to the regression line?Below the line


In a good regression model the residual plot shows?

a random pattern


How do you solve regression line?

by regrsioning it.


Is the line of best fit the same as linear regression?

Linear Regression is a method to generate a "Line of Best fit" yes you can use it, but it depends on the data as to accuracy, standard deviation, etc. there are other types of regression like polynomial regression.