The Equation of the Line of Best Fit

Slides:



Advertisements
Similar presentations
Objective - To graph linear equations using the slope and y-intercept.
Advertisements

Warm Up Find the slope of the line containing each pair of points.
5-8 solving radical equations and inequalities
2.4 Write Equations of Lines
R Squared. r = r = -.79 y = x y = x if x = 15, y = ? y = (15) y = if x = 6, y = ? y = (6)
Statistics Measures of Regression and Prediction Intervals.
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
Bellwork Find the slope of the line containing the points (-1,12) and (5,-6). Find the product of the slope and y-intercept for the line y=-5x+7. Write.
Linear Regression Larson/Farber 4th ed. 1 Section 9.2.
OBJECTIVES 2-2 LINEAR REGRESSION
Chapter 21 Correlation. Correlation A measure of the strength of a linear relationship Although there are at least 6 methods for measuring correlation,
2.4 Using Linear Models. The Trick: Converting Word Problems into Equations Warm Up: –How many ways can a $50 bill be changed into $5 and $20 bills. Work.
A solution of a system of two equations in two variables is an ordered pair of numbers that makes both equations true. A solution to two equations (1,
The Scientific Method Interpreting Data — Correlation and Regression Analysis.
Regression Section 10.2 Bluman, Chapter 101. Example 10-1: Car Rental Companies Construct a scatter plot for the data shown for car rental companies in.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 12 Statistics.
Sec 1.5 Scatter Plots and Least Squares Lines Come in & plot your height (x-axis) and shoe size (y-axis) on the graph. Add your coordinate point to the.
LBSRE1021 Data Interpretation Lecture 11 Correlation and Regression.
Educ 200C Wed. Oct 3, Variation What is it? What does it look like in a data set?
PS 225 Lecture 20 Linear Regression Equation and Prediction.
Unit 3 Part 2 Writing Equations Ax + By = C (standard form) y = mx + b (slope – intercept form)
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Line of Best Fit 4-8 Warm Up Lesson Presentation Lesson Quiz
1 Regression & Correlation (1) 1.A relationship between 2 variables X and Y 2.The relationship seen as a straight line 3.Two problems 4.How can we tell.
Applying the Pythagorean Theorem and Its Converse Warm Up Warm Up Lesson Presentation Lesson Presentation Problem of the Day Problem of the Day Lesson.
Linear Regression 1 Section 9.2. Section 9.2 Objectives 2 Find the equation of a regression line Predict y-values using a regression equation.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Review after Christmas!. Solve the below equations for the variable..5 (6x +8) = 16 1.
3.2 - Residuals and Least Squares Regression Line.
CHAPTER 10 & 13 Correlation and Regression. Regression.
CHAPTER 10 & 13 Correlation and Regression
CHAPTER 10 & 13 Correlation and Regression
Learning Targets Graph a line and write a linear equation using point-slope form. Write a linear equation given two points. Warm Up Find the slope of the.
Correlation and regression
Correlation and Regression
The Least-Squares Regression Line
CHAPTER 10 Correlation and Regression (Objectives)
Lesson 5.3 How do you write linear equations in point-slope form?
M248: Analyzing data Block D.
Elementary Statistics: Picturing The World
Warm Up Find the slope of the line containing each pair of points.
Graphing Review.
9.6: Solving Polynomials when a > 1
Residuals and Residual Plots
Lesson 1-1 Linear Relations and Things related to linear functions
FITTING A LINE TO DATA – –2 –4 –6
Least-Squares Regression
Lesson 2.2 Linear Regression.
Correlation and Regression
5-4 The Slope Formula Warm Up Lesson Presentation Lesson Quiz
Write Equations of Lines
Write the equation for the following slope and y-intercept:
5-4 The Slope Formula Warm Up Lesson Presentation Lesson Quiz
Karl’s Pearson Correlation
Mean & Standard Deviation
Graphing Linear Equations
Point-Slope Form 5-7 Warm Up Lesson Presentation Lesson Quiz
Distance Time Graphs.
Educational statistics
Distance – Time Graphs Time is usually the independent variable (plotted on the x-axis) Distance is usually the dependent variable (plotted on the y-axis)
Graphing Linear Equations
Example 1: Solving Equations Containing One Radical
Distance & Midpoint in the Coordinate Plane
Ch. 6 Vocabulary 7.) Substitution method (6-2) 8.) Elimination method (6-3)
COMPASS Practice Test 16.
1: Slope from Equations Y = 8x – 4 B) y = 6 – 7x
Lesson 8–8 Objectives Be able to solve radical equations and inequalities.
Slope Intercept Form Algebra 1 Unit 4 Lesson 2.
Presentation transcript:

The Equation of the Line of Best Fit How does the calculator calculate the vales for the slope and y- intercept of the line of best fit? This lesson will go through the process that the calculator uses. Using this method, and showing all your work, if you complete the following questions correctly and submit them to Mrs. Matthews on Monday Nov. 7th during homeroom, you will receive extra credit. Write the equation of the line of best fit for the data below. Calculate and interpret the value of the correlation coefficient. Car Stopping Distances Speed (mi/h) 10 15 20 25 30 35 40 45 Stopping Distance (ft) 27 44 63 85 109 136 164 196

The Equation of the Line of Best Fit Write the equation of the line of best fit for the following data. Step 1: Extend your table Time Miles 5 27 10 46 14 71 18 78 22 107

The Equation of the Line of Best Fit Complete the extended table: Time Miles Time●Miles Time2 Miles2 5 27 10 46 14 71 18 78 22 107 Totals

The Equation of the Line of Best Fit Time Miles Miles●Time Time2 Miles2 5 27 135 25 729 10 46 460 100 2116 14 71 994 196 5041 18 78 1404 324 6084 22 107 2354 484 11449 Totals 69 329 5347 1129 25419

Symbols Let us discus the symbols used in the formula for slope and y-intercept. n = Number of pairs n in this case is… 5 x = Independent variable (usually the 1st variable) In this case the independent variable is… Time y = Dependent variable (usually 2nd variable) In this case the dependent variable is… Miles

Symbols Σ: this symbol (called sigma) means to add up Therefore Σx means to add up all the x-values. In this case Σx = 69 Σy means to add up all the y-values. In this case Σy = 329 Σxy means to add up all the x●y values. In this case Σxy = 5347 Σx2 means to add up all the x2 values. In this case Σx2 = 1129 Σy2 means to add up all the y2 values. In this case Σy2 = 25419 (Σx)2 means to add up all the x-values and square the sum. In this case (Σx)2 = 4761 (Σy)2 means to add up all the x-values and square the sum. In this case (Σy)2 = 108241

The Equation of the Line of Best Fit Step 2: Use the following formula to calculate the slope, m. m = nΣxy – Σx Σy nΣx2 – (Σx)2

The Equation of the Line of Best Fit Step 2: Use the following formula to calculate the slope, m. m = nΣxy – Σx Σy nΣx2 – (Σx)2 = 5(5347) – (69)(329) 5(1129) – 4761 = 4034 884 = 2017 442

The Equation of the Line of Best Fit Step 3: Use the following formula to calculate the y- intercept, b. b = Σy – mΣx n

The Equation of the Line of Best Fit Step 3: Use the following formula to calculate the y- intercept, b. b = Σy – mΣx n = 329 – (2017/442)(69) 5 = 1249 442

The Equation of the Line of Best Fit After we have found the values of m and b, write the equation of the line in decimal form to the nearest tenth: y = 2017 x + 1249 442 442 y = 4.6x + 2.8

The Equation of the Line of Best Fit r is calculated using the following formula:

The Correlation Coefficient