Lesson 2.2 Linear Regression.

Slides:



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

Point/Slope Form Think what the formula is, then click on the name. Next Page.
U1B L2 Reviewing Linear Functions
Linear Equations Review. Find the slope and y intercept: y + x = -1.
R Squared. r = r = -.79 y = x y = x if x = 15, y = ? y = (15) y = if x = 6, y = ? y = (6)
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Business 205. Review Chi-Square Preview Regression.
Write Linear Equations in Slope- Intercept Form (Part 2) Big Idea: Verify that a point lies on a line. Derive linear equations.
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Linear Regression Least Squares Method: an introduction.
Regression Regression relationship = trend + scatter
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
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.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Regression Analysis Deterministic model No chance of an error in calculating y for a given x Probabilistic model chance of an error First order linear.
Chapter 8 Loops. For Loop >Executes a block of statements a specified number of times. Form: for loop variable=first:incr:last statements end.
3.2 - Residuals and Least Squares Regression Line.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
Use Linear Equations in Slope- Intercept Form Lesson 5.2 OBJ: to write an equation of a line using points on the line.
REGRESSION Stats 1 with Liz. AIMS By the end of the lesson, you should be able to… o Understand the method of least squares to find a regression line.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Correlation & Regression
LEAST – SQUARES REGRESSION
Statistics 101 Chapter 3 Section 3.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Lesson 3-6 Part 2 Point-Slope Equation.
Point-Slope Form of a Linear Equation
The Lease Squares Line Finite 1.3.
Finding the Best Fit Line
Ch12.1 Simple Linear Regression
LSRL Least Squares Regression Line
Linear Regression Bonus
Linear Trends and Correlations
The Least-Squares Regression Line
CHAPTER 10 Correlation and Regression (Objectives)
Finding the Best Fit Line
2.5 Correlation and Best-Fitting Lines
Lesson 5.3 How do you write linear equations in point-slope form?
AP Stats: 3.3 Least-Squares Regression Line
Linear Regression.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
Lesson 8-3 Using Slopes and Intercepts part 2
Linear Models and Equations
Unit 4 Vocabulary.
Modeling a Linear Relationship
Least-Squares Regression
Page 11.
2.5 Writing Equations in Slope Intercept Form
5.6 – point slope formula Textbook pg. 315 Objective:
CALCULATING EQUATION OF LEAST SQUARES REGRESSION LINE
2-4: Writing Linear Equations Using Slope Intercept Form
Multivariate Analysis Regression
Regression & Prediction
Ch 4.1 & 4.2 Two dimensions concept
Homework: pg. 180 #6, 7 6.) A. B. The scatterplot shows a negative, linear, fairly weak relationship. C. long-lived territorial species.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Lesson 2.2 Linear Regression.
Ch 9.
9/27/ A Least-Squares Regression.
Created by Erin Hodgess, Houston, Texas
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
Modeling a Linear Relationship
Slope Intercept Form Algebra 1 Unit 4 Lesson 2.
Presentation transcript:

Lesson 2.2 Linear Regression

Slope and y-intercept Do the investigation on page 171 #1-4.

Residual The vertical deviation of each data point from the line of best fit Residuals are positive for points above the line, and negative for points below the line.

Least Squares Formulae It's a linear equation, but how do we find m and b? Yikes! Aren't you glad we have computers?

We can use the least-squares method to find the equation of a line. Age (years) Annual Income (000) x2 XY 33 25 31 19 18 44 52 50 56 54 60 38 29 35 Sum = Calculate m and b:

Effects of Outliers Textbook see example 3 on page 177.

Practice Questions Page 180 #1, 2 (excel), 3, 4 (excel), 5, 7 When the question says “use linear regression to model these data”, they mean use the least squares formula to calculate the slope and y-intercept (by hand) Practice Questions