Hey, I'm working on Scatter plots and correlation and I wanted to know what does, "find the least-square regression line?" What does that mean?
oh i did a whole paper on this
would u like me to send it to you
it shows everything step by step
Yeah, that would be great. Thanks
ok ill attach it here give me a minute
Alright 😊
A least squares regression line is a fitted line so that the squared distance between a point on the line (called a residual) and its corresponding observed point is a minimum.
I didn't instant understand any of that
Not*
It's a bit complicated but basically you sometimes draw lines of best fits through a scatterplot just to indicate a linear trend, right? |dw:1469168319622:dw|
now in high school a lot of this is drawn 'by sight'. So if you asked 5 different students to draw that fitted line by eye, they'd come up with slightly different answers. Thus statistics has developed ways to map a fitted line (one of which is called a least squares regression line) to a scatterplot so that everyone will get the same line and even better, an equation for that line.
To do this they simply measure the vertical distances from the line to the actually point (x,y) |dw:1469168679302:dw| The line that makes the sum of these distances (known as residuals) when they are squared, the smallest is known as the least squares regression line and is considered the best fit to the points. There is a formula to calculate this line involving the standard deviation of the x values, the stdev of the y values, the correlation coefficient, r and the mean of x and mean of y: http://www.stat.wmich.edu/s216/book/node126.html
Join our real-time social learning platform and learn together with your friends!