Section 4.2 Least Squares Regression. Finding Linear Equation that Relates x and y values together Based on Two Points (Algebra) 1.Pick two data points.

Slides:



Advertisements
Similar presentations
1.5 Scatter Plots and Least Squares Lines
Advertisements

AP Statistics Section 3.2 B Residuals
Section 10-3 Regression.
R Squared. r = r = -.79 y = x y = x if x = 15, y = ? y = (15) y = if x = 6, y = ? y = (6)
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Lesson Diagnostics on the Least- Squares Regression Line.
Scatter Diagrams and Linear Correlation
Regression and Correlation
Least Squares Regression
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Linear Regression Analysis
P.33 #14-19, p. 34 #32-34, Lesson Scatter Plots and Least-Squares Lines.
Lesson Nonlinear Regression: Transformations.
Plotting coordinates into your TI 84 Plus Calculator.
Linear Regression.
Relationship of two variables
1.Max is a computer salesman. For each day that he works, he receives $50 plus a fixed commission amount per computer. Max is currently earning $122 for.
Advanced Algebra II Notes 3.5 Residuals Residuals: y-value of data point – y-value on the line Example: The manager of Big K Pizza must order supplies.
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Warm Up 13, 13, 15, 9, 9, 12, 13, 15, 11 1.Find Q1, Median, and Q3 2.Find the IQR 3.Find the mean. 4.Find the mean absolute deviation.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Correlation & Regression – Non Linear Emphasis Section 3.3.
Section 4.1 Scatter Diagrams and Correlation. Definitions The Response Variable is the variable whose value can be explained by the value of the explanatory.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Variation and Prediction Intervals
Lesson 2.7 AIM: How to find the slope and equation of a line using two points.
9.2A- Linear Regression Regression Line = Line of best fit The line for which the sum of the squares of the residuals is a minimum Residuals (d) = distance.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Scatter Plots, Correlation and Linear Regression.
Ch. 10 Correlation and Regression 10-2 Notes Linear Regression and the Coefficient of Determination.
Least Squares Regression.   If we have two variables X and Y, we often would like to model the relation as a line  Draw a line through the scatter.
Systems of Equations A group of two or more equations is called a system. When asked to SOLVE a system of equations, the goal is to find a single ordered.
Day 102 – Linear Regression Learning Targets: Students can represent data on a scatter plot, and describe how the variables are related and fit a linear.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Calculating the Least Squares Regression Line Lecture 40 Secs Wed, Dec 6, 2006.
Identifying from an equation: Linear y = mx +b Has an x with no exponent (or exponent 1). Examples: y = 5x + 1 y = ½x 2x + 3y = 6 Quadratic y = ax 2 +
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Welcome to Algebra 2! Get out your homework Get out catalogs Get out writing utensils Put bags on the floor Be quiet!!! 3/2/ : Curve Fitting with.
Copyright © Cengage Learning. All rights reserved. 8 9 Correlation and Regression.
The Line of Best Fit CHAPTER 2 LESSON 3  Observed Values- Data collected from sources such as experiments or surveys  Predicted (Expected) Values-
1.) Write an equation for the line containing the following: y-intercept of 6 and has a slope of ¼. 2.) Find the x-intercept and y-intercept of 4x + 2y.
4.2 – Linear Regression and the Coefficient of Determination Sometimes we will need an exact equation for the line of best fit. Vocabulary Least-Squares.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Prediction/Regression
Bring project data to enter into Fathom
Linear Regression Special Topics.
Regression and Correlation
Warm Up 13, 13, 15, 9, 9, 12, 13, 15, 11 Find Q1, Median, and Q3
Section 9-3   We already know how to calculate the correlation coefficient, r. The square of this coefficient is called the coefficient of determination.
Journal Heidi asked 4 people their height and shoe size. Below are the results. 63 inches inches inches inches 8 She concluded that.
Lesson 5.3 How do you write linear equations in point-slope form?
Section 4.2 How Can We Define the Relationship between two
5.1 Solve Systems of Equations by Graphing
3 4 Chapter Describing the Relation between Two Variables
Calculating the Least Squares Regression Line
Calculating the Least Squares Regression Line
Section 2: Linear Regression.
Lesson 2.2 Linear Regression.
Calculating the Least Squares Regression Line
1.4 Equations of Lines and Linear Models
11C Line of Best Fit By Eye, 11D Linear Regression
Warm Up 13, 13, 15, 9, 9, 12, 13, 15, 11 Find Q1, Median, and Q3
Prediction/Regression
Section 11.1 Correlation.
Calculating the Least Squares Regression Line
Calculating the Least Squares Regression Line
Presentation transcript:

Section 4.2 Least Squares Regression

Finding Linear Equation that Relates x and y values together Based on Two Points (Algebra) 1.Pick two data points (first and last maybe), these will be (x 1, y 1 ) and (x 2, y 2 ) 2.Find m using the formula: 3. Into y = mx + b, plug in either point for x, y and m from step 2 and solve for b 4. Write answer (plug in m from step 2 and the b from step 3 into y = mx + b)

1. Create the scatter diagram and pick two “good” points and find the equation of the line containing them XY

Definitions residual = Difference between the observed and predicted values of y (aka “error”) Formula: Residual = observed y – predicted y

Least-Squares Regression Criterion

Least-Squares Regression Line (By Hand)

Finding Regression Equation (TI-83/84) 1.Put x values (explanatory) into L1 2.Put y values (response) into L2 3.“Stat” button 4.Right arrow to CALC 5.Down arrow to LinReg (ax + b) 6.“enter” button * Make sure Diagnostics is On

2. Find the least-squares regression equation (by hand and TI-83/84) XY

Using Regression Equation for Predictions

3. Using the following data and its corresponding regression equation, predict y when x is equal to 21 XY

Residuals The difference between the observed value of y and the predicted value of y aka error. formula: Residual = Observed - Predicted

4. Based on the least-squares regression line below, find the residual at x = 3 given the actual data point below:

5. Find the sum of the squared residuals for the least-squares regression line using the following data XY