110 likes | 243 Views
Warm UP!. Write the equation of the line that passes through the points (6,8) and (10, -4). Scatter Plots and Best Fitting Lines. Making a Scatter Plot. You need a list of data Decide which is your independent variable (x) and which is your dependent variable (y). Then plot the points.
E N D
Warm UP! Write the equation of the line that passes through the points (6,8) and (10, -4)
Making a Scatter Plot • You need a list of data • Decide which is your independent variable (x) and which is your dependent variable (y). • Then plot the points
Try to make a prediction for the height at: 21 months 28 months 48 months
(22, 79) Pick two points on your line (NOT NECESSARILY from your data set) and write the equation. (18, 76)
Writing the equation of my best fitting line The points: (18, 76) (22, 79) The slope: Plug in x,y and solve for b: Use m and b to write the equation. This is the equation of your regression line (line of best fit)
Steps for finding best fitting line: • Pick any two points on your line (not necessarily in data set) • Find m, the slope between the points • Use one of the points and the slope and plug into y=mx+b to solve for b. • Substitute the values for m and b into the equation leaving x & y as variables.
y=3/4x+62.5 Try to make a prediction for the height at: 21 months 28 months 48 months
Calculator Steps TI 30x Line of Best Fit Steps • 2ndDATA choose 2-VAR • DATA (enter data and use down arrow) • STAT VAR • Arrow over to find a = b = r = 5) The equation of the line is y = ax + b. Correlation Coefficient is r. 6) To predict plug value in for x TI 83 or 84 of Best Fit Steps 1) DATA, then EDIT (type in data) 2) DATA, then CALC 4: LinReg(ax+b) a = b = r = 3) You can use the x variable button to find a, b, and r. 4) The equation of the line is y = ax + b. Correlation Coefficient is r. 5) To predict plug value in for x