Linear Regression Section 3.3. Warm Up In many communities there is a strong positive correlation between the amount of ice cream sold in a given month.

Slides:



Advertisements
Similar presentations
Section 10-3 Regression.
Advertisements

AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
1-4 curve fitting with linear functions
Bivariate Data – Scatter Plots and Correlation Coefficient…… Section 3.1 and 3.2.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
Section 6-2: Slope-Intercept Form of a Linear Equation SPI 22C: select the graph that represents a given linear function expressed in slope-intercept form.
Graphing Linear Equations In Slope-Intercept Form.
Algebra I Chapter 5. Warm Up What is slope? What is the y-intercept?
5-7: Scatter Plots & Lines of Best Fit. What is a scatter plot?  A graph in which two sets of data are plotted as ordered pairs  When looking at the.
Elementary Statistics Larson Farber 9 Correlation and Regression.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Linear Regression.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
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.
EQT 272 PROBABILITY AND STATISTICS
Standard Form Section 6-4. Notes Standard Form of a Linear Equation: Ax + By = C where A, B, and C are real numbers.
5-3 Slope Intercept Form A y-intercept of a graph is the y-coordinate of a point where the graph crosses the y-axis. *Use can use the slope and y-intercept.
1. Graph 4x – 5y = -20 What is the x-intercept? What is the y-intercept? 2. Graph y = -3x Graph x = -4.
4.2 Introduction to Correlation Objective: By the end of this section, I will be able to… Calculate and interpret the value of the correlation coefficient.
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.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
CHAPTER 3 INTRODUCTORY LINEAR REGRESSION. Introduction  Linear regression is a study on the linear relationship between two variables. This is done by.
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)
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
Yesterday Correlation Regression -Definition
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
CHAPTER curve fitting with linear functions.
Section 6 – 1 Rate of Change and Slope Rate of change = change in the dependent variable change in the independent variable Ex1. Susie was 48’’ tall at.
WARM – UP #5 1. Graph 4x – 5y = -20 What is the x-intercept? What is the y-intercept? 2. Graph y = -3x Graph x = -4.
Scatter Plots, Correlation and Linear Regression.
S CATTERPLOTS Correlation, Least-Squares Regression, Residuals Get That Program ANSCOMBE CRICKETS GESSEL.
Solving Systems of Equations by Elimination (Addition) Section 3.2, Part II.
Equations of Lines LF.2.AC.7: Write an equation given two points, a point and y-intercept, a point and slope.
Section 1-3: Graphing Data
UNIT 2 BIVARIATE DATA. BIVARIATE DATA – THIS TOPIC INVOLVES…. y-axis DEPENDENT VARIABLE x-axis INDEPENDENT VARIABLE.
Scatterplots and Linear Regressions Unit 8. Warm – up!! As you walk in, please pick up your calculator and begin working on your warm – up! 1. Look at.
Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.
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.
The y-intercept and slope-intercept form/ Writing linear equations from graphs. 1/11/15.
Discovering Mathematics Week 9 – Unit 6 Graphs MU123 Dr. Hassan Sharafuddin.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Unit 3 Section : Regression  Regression – statistical method used to describe the nature of the relationship between variables.  Positive.
+ Lesson 5.1 Writing Linear Equations in Slope-Intercept Form (Function Form)
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.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Warm Up Scatter Plot Activity.
Slope-Intercept and Standard Form of a Linear Equation.
Linear Regression.
Warm Up 13, 13, 15, 9, 9, 12, 13, 15, 11 Find Q1, Median, and Q3
Equations of Lines.
CHAPTER 10 Correlation and Regression (Objectives)
Section 9-3   We already know how to calculate the correlation coefficient, r. The square of this coefficient is called the coefficient of determination.
Objective The student will be able to:
Warm Up.
Warm Up Please sit down and clear your desk. Do not talk. You will have until lunch to finish your quiz.
Lesson 4.1 Bivariate Data Today, we will learn to …
Scatterplots 40 points.
Least-Squares Regression
Solving Systems of Equations
y = mx + b Linear Regression line of best fit REMEMBER:
Warm Up 13, 13, 15, 9, 9, 12, 13, 15, 11 Find Q1, Median, and Q3
Objective The student will be able to:
Solving Systems of Equations
Standard Form to Slope-Intercept Form.
Warm-Up 5.1
Section 9-3   We already know how to calculate the correlation coefficient, r. The square of this coefficient is called the coefficient of determination.
ALGEBRA I - REVIEW FOR TEST 2-1
Presentation transcript:

Linear Regression Section 3.3

Warm Up In many communities there is a strong positive correlation between the amount of ice cream sold in a given month and the number of drownings that occur in that month. Does this mean that ice cream causes drowning? If not, can you think of other alternatives for the strong association?

Warm Up #2…… Explain why one would expect to find a positive correlation between the number of fire engines that respond to a fire and the amount of damage done in the fire.

Regression Line…… If the value of the correlation coefficient is significant, the next step is to find the equation of the regression line. Regression Line – The data’s line of best fit which is determined by the slope and y- intercept.

Regression Analysis…… It finds the equation of the line that best describes the relationship between the 2 variables. Primary Purpose: To Make Predictions *This is a test question.

Prediction Models……

Remember Algebra? The slope intercept form of a line was y = mx + b where m is the slope and b is the y-intercept Slope: The change in y over the change in x. Y-intercept: where the line crosses the y-axis.

Line of Best Fit…… The equation used to find the line of best fit is y = ax + b where “a” = slope and “b” = y-intercept

Computational Formulas……y = ax + b To find a:To find b:

Example 1…… Find the equation of the line of best fit. Predict the # of sales when 5 ads are sold. # of ads# of sales

Go by the formula……These are the lists you will need.

First…… Find the mean of x and the mean of y and write it down. Put x’s in L1 – stat calc one var stats L1 Put y’s in L2 – stat calc one var stats L2

Means of x and y……

Let’s fill in the lists…… L1L2L3 = L L4 = L L5 =L3 x L4L6 = L3 squared xyx - xbary - ybar(x-xbar)(y-ybar)(x - xbar) squared

Compute “a”……

Compute “b”……

Plug into y = ax + b…… Answer: y = 1.16x + 2.8

Predict …… Predict the number of sales when 5 ads are sold. Y = 1.16(5) = 8.6 = 9 sales

Example 2…… A. Find the equation of the line of best fit. B. Predict hours of exercise if the person is 35 yrs old. C. Predict the age if they exercise 9 hours per week. AgeExercise

Find the means…… X-Values:Y-Values:

The lists…… L1L2L3 = L L4 = L L5 =L3 x L4L6 = L3 squared xyx - xbary - ybar(x-xbar)(y-ybar)(x - xbar) squared

Compute “a” and “b”……

Equation: y = mx + b Plug into the formula for the equation of the trend line. Y = -.18x

Predictions…… Find y when x = 35. Y = -.18(35) Y = 4.2 hours Find x when y = 9. 9 = -.18x = -.18x -1.5 = -.18x X = 8.3 X = 8 years