Download presentation

Presentation is loading. Please wait.

Published byRosalyn Stafford Modified over 6 years ago

1
The Line of Best Fit Linear Regression

2
Definition - A Line of Best or a trend line is a straight line on a Scatter plot that comes closest to all of the dots on the graph. A Line of Best Fit may pass through some or the points, none of the points or all of the points. You can find the line of best fit by hand (paper and pencil) or with your graphing calculator.

3
A Line of Best Fit is useful because it allows us to: –Understand the type and strength of the relationship between two sets of data –Predict missing Y values for given X values, or missing X values for given Y values

4
How do you determine the best-fit line through data points? x-variable y-variable Fortunately technology, such as the graphing calculator and Excel, can do a better job than your eye and a ruler!

5
Line of Best Fit by Hand Create your scatter plot of the data provided. Using a ruler (upright), position it so that the plotted points are as close to the ruler as possible. Draw the line of best fit Find 2 points that you think would be on your best fit line. Find the slope of the 2 points. Plug the slope and one point into point slope formula y-y 1 =m(x-x 1 ) to find the equation of the line. Put the equation in slope intercept form (solve for y)

6
Line of Best Fit on Calculator 1. Enter the data in the calculator lists. Place the data in L 1 and L 2. STAT, #1Edit, type values into the lists 2. Prepare a scatter plot of the data. Set up for the scatterplot. 2 nd StatPlot - choose the first icon – choices shown at right. Choose ZOOM #9 ZoomStat.

7
Graph will look something like this. 3. Have the calculator determine the line of best fit. STAT → CALC #4 LinReg(ax+b) Include the parameters L 1, L 2, Y 1. (Y 1 comes from VARS → YVARS, #Function, Y 1 )

8
Graph will look something like this. 3. Have the calculator determine the line of best fit. STAT → CALC #4 LinReg(ax+b) Include the parameters L 1, L 2, Y 1. (Y 1 comes from VARS → YVARS, #Function, Y 1 )

9
You now have the values of a and b needed to write the equation of the actual line of best fit. Example: See values right and substitute for a and b y = 11.73x + 193.85 (2 decimals) 4. Graph the line of best fit. Simply hit GRAPH.

10
Correlation Coefficient r r tells you how strong the relationship between the 2 variables is and how dependable the equation is. r is between -1 and 1. The closest it is to 0, the weaker the correlation. The closer it is to 1 or -1, the stronger the correlation. -1 0 1

Similar presentations

© 2021 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google