Hi, I was just wondering how do you draw the least sqaures of regression line onto your scatter diagram, it seems to come up alot but im not sure what to do. Thanks

Printable View

- January 8th 2010, 09:09 AMNathanBUKRegression
Hi, I was just wondering how do you draw the least sqaures of regression line onto your scatter diagram, it seems to come up alot but im not sure what to do. Thanks

- January 8th 2010, 09:18 AMartvandalay11

if you have an equation for your regression line just plot it as you would normally graph a line

If you are just eyeballing it you want to try to put the line through the "center" of your points, so that half the data is above the line and half below, and even moreso you want to try to make the (square) of the distances of the points to the line be equal on top of and below the line - January 8th 2010, 10:10 AMNathanBUK
ohh thankyou! never though about it just like plotting normal (Giggle) thanks again (Rofl)

- January 8th 2010, 12:18 PMnovice
To plot scatter diagram, you simply put the dots on the x-y plane.

To plot the regression line, you must first set up the normal regression equations and solve for all constants. Then you will have a regression equation with which to plot the regression line.

See an example here:

http://www.mathhelpforum.com/math-he...-one-help.html