1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Regresi dan Korelasi Linear Pertemuan 19
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Chapter 12 Simple Linear Regression
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Reading – Linear Regression Le (Chapter 8 through 8.1.6) C &S (Chapter 5:F,G,H)
Chapter 12a Simple Linear Regression
Linear Regression In Excel. Linear Regression  In this presentation you will learn the following: How to make a scatter plot in Excel (Click Here)Here.
Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could.
Example: Test score A survey was conducted to measure the relationship between hours spent on studying JMSC0103 and the scores in the final examination.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Korelasi dan Regresi Linear Sederhana Pertemuan 25
Linear Regression and Correlation Topic 18. Linear Regression  Is the link between two factors i.e. one value depends on the other.  E.g. Drivers age.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Simple Linear Regression
DISCLAIMER This guide is meant to walk you through the physical process of graphing and regression in Excel…. not to describe when and why you might want.
Linear Regression and Correlation
Mathematical Modeling Making Predictions with Data.
Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression. Types of Regression Model Regression Models Simple (1 variable) LinearNon-Linear Multiple (2
Linear Regression Analysis Using MS Excel Making a graph Analyzing Data.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Simple Linear Regression Part A n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Statistical Methods Statistical Methods Descriptive Inferential
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
Trend Projection Model b0b0 b1b1 YiYi
Chapter 13 Multiple Regression
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Graphing Using Excel AB Volume of Lead (ml)Mass of Lead (g) How to input data into Excel. Units only go in the column title not with.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.3 Prepared.
Creating a Scatter Plot On a Mac. Data in Excel Spreadsheet Insert the variable you want on the x-axis in the left column Insert the variable you want.
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
EXCEL GRAPHING *Basic Graphing Steps* by A.B. -NNHS.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Lecture 10 Introduction to Linear Regression and Correlation Analysis.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Lecture 11: Simple Linear Regression
Simple Linear Regression
Statistics for Business and Economics (13e)
Quantitative Methods Simple Regression.
Econ 3790: Business and Economics Statistics
Slides by JOHN LOUCKS St. Edward’s University.
Mathematical Modeling
Help with Excel Graphs CHM 2046L.
St. Edward’s University
Presentation transcript:

1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University

2 2 Slide © 2009 Thomson South-Western. All Rights Reserved Chapter 14, Part A Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination

3 3 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Regression analysis can be used to develop an Regression analysis can be used to develop an equation showing how the variables are related. equation showing how the variables are related. Managerial decisions often are based on the Managerial decisions often are based on the relationship between two or more variables. relationship between two or more variables. The variables being used to predict the value of the The variables being used to predict the value of the dependent variable are called the independent dependent variable are called the independent variables and are denoted by x. variables and are denoted by x. The variable being predicted is called the dependent The variable being predicted is called the dependent variable and is denoted by y. variable and is denoted by y.

4 4 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression The relationship between the two variables is The relationship between the two variables is approximated by a straight line. approximated by a straight line. Simple linear regression involves one independent Simple linear regression involves one independent variable and one dependent variable. variable and one dependent variable. Regression analysis involving two or more Regression analysis involving two or more independent variables is called multiple regression. independent variables is called multiple regression.

5 5 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Model y =  0 +  1 x +  where:  0 and  1 are called parameters of the model,  is a random variable called the error term.  is a random variable called the error term. The simple linear regression model is: The simple linear regression model is: The equation that describes how y is related to x and The equation that describes how y is related to x and an error term is called the regression model. an error term is called the regression model.

6 6 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Equation n The simple linear regression equation is: E ( y ) is the expected value of y for a given x value. E ( y ) is the expected value of y for a given x value.  1 is the slope of the regression line.  1 is the slope of the regression line.  0 is the y intercept of the regression line.  0 is the y intercept of the regression line. Graph of the regression equation is a straight line. Graph of the regression equation is a straight line. E ( y ) =  0 +  1 x

7 7 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Equation n Positive Linear Relationship E(y)E(y)E(y)E(y) x Slope  1 is positive Regression line Intercept  0

8 8 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Equation n Negative Linear Relationship E(y)E(y)E(y)E(y) x Slope  1 is negative Regression line Intercept  0

9 9 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression Equation n No Relationship E(y)E(y)E(y)E(y) x Slope  1 is 0 Regression line Intercept  0

10 Slide © 2009 Thomson South-Western. All Rights Reserved Estimated Simple Linear Regression Equation n The estimated simple linear regression equation is the estimated value of y for a given x value. is the estimated value of y for a given x value. b 1 is the slope of the line. b 1 is the slope of the line. b 0 is the y intercept of the line. b 0 is the y intercept of the line. The graph is called the estimated regression line. The graph is called the estimated regression line.

11 Slide © 2009 Thomson South-Western. All Rights Reserved Estimation Process Regression Model y =  0 +  1 x +  Regression Equation E ( y ) =  0 +  1 x Unknown Parameters  0,  1 Sample Data: x y x 1 y x n y n b 0 and b 1 provide estimates of  0 and  1 Estimated Regression Equation Sample Statistics b 0, b 1

12 Slide © 2009 Thomson South-Western. All Rights Reserved Least Squares Method n Least Squares Criterion where: y i = observed value of the dependent variable for the i th observation for the i th observation^ y i = estimated value of the dependent variable for the i th observation for the i th observation

13 Slide © 2009 Thomson South-Western. All Rights Reserved n Slope for the Estimated Regression Equation Least Squares Method where: x i = value of independent variable for i th observation observation_ y = mean value for dependent variable _ x = mean value for independent variable y i = value of dependent variable for i th observation observation

14 Slide © 2009 Thomson South-Western. All Rights Reserved n y -Intercept for the Estimated Regression Equation Least Squares Method

15 Slide © 2009 Thomson South-Western. All Rights Reserved Reed Auto periodically has a special week-long sale. As part of the advertising campaign Reed runs one or more television commercials during the weekend preceding the sale. Data from a sample of 5 previous sales are shown on the next slide. Simple Linear Regression n Example: Reed Auto Sales

16 Slide © 2009 Thomson South-Western. All Rights Reserved Simple Linear Regression n Example: Reed Auto Sales Number of TV Ads ( x ) TV Ads ( x ) Number of Cars Sold ( y )  x = 10  y = 100

17 Slide © 2009 Thomson South-Western. All Rights Reserved Estimated Regression Equation n Slope for the Estimated Regression Equation n y -Intercept for the Estimated Regression Equation n Estimated Regression Equation

18 Slide © 2009 Thomson South-Western. All Rights Reserved n Excel Worksheet (showing data) Using Excel’s Chart Tools for Scatter Diagram & Estimated Regression Equation

19 Slide © 2009 Thomson South-Western. All Rights Reserved n Producing a Scatter Diagram Step 1 Select cells B1:C6 Step 2 Click the Insert tab on the Excel ribbon Step 3 In the Charts group, click Scatter Step 4 When the list of scatter diagram subtypes appears: Click Scatter with only Markers Click Scatter with only Markers Using Excel’s Chart Tools for Scatter Diagram & Estimated Regression Equation Step 5 In the Chart Layouts group, click Layout 1 Step 6 Select the Chart Title and replace it with Reed Auto Sales Estimated Regression Equation Auto Sales Estimated Regression Equationcontinue

20 Slide © 2009 Thomson South-Western. All Rights Reserved n Producing a Scatter Diagram Using Excel’s Chart Tools for Scatter Diagram & Estimated Regression Equation Step 7 Select the Horizontal Axis Title and replace it with TV Ads with TV Ads Step 8 Select the Vertical Axis Title and replace it with Cars Sold Cars Sold Step 9 Right click on the legend and click Delete Step 10 Position the mouse pointer over any Vertical Axis Major Gridline in the scatter diagram and Axis Major Gridline in the scatter diagram and right-click to display a list of options and then right-click to display a list of options and then choose Delete choose Delete

21 Slide © 2009 Thomson South-Western. All Rights Reserved n Adding the Trendline Step 13 When the Format Trendline dialog box appears: Select Trendline Options and then Select Trendline Options and then Choose Linear from the Trend/Regression Choose Linear from the Trend/Regression Type list Type list Choose Display Equation on chart Choose Display Equation on chart Click Close Click Close Step 12 Choose Add Trendline Step 11 Position the mouse pointer over any data point in the scatter diagram and right-click to display in the scatter diagram and right-click to display a list of options a list of options Using Excel’s Chart Tools for Scatter Diagram & Estimated Regression Equation

22 Slide © 2009 Thomson South-Western. All Rights Reserved Using Excel’s Chart Tools for Scatter Diagram & Estimated Regression Equation Reed Auto Sales Estimated Regression Line

23 Slide © 2009 Thomson South-Western. All Rights Reserved Coefficient of Determination n Relationship Among SST, SSR, SSE where: SST = total sum of squares SST = total sum of squares SSR = sum of squares due to regression SSR = sum of squares due to regression SSE = sum of squares due to error SSE = sum of squares due to error SST = SSR + SSE

24 Slide © 2009 Thomson South-Western. All Rights Reserved n The coefficient of determination is: Coefficient of Determination where: SSR = sum of squares due to regression SST = total sum of squares r 2 = SSR/SST

25 Slide © 2009 Thomson South-Western. All Rights Reserved Coefficient of Determination r 2 = SSR/SST = 100/114 =.8772 The regression relationship is very strong; 87.72% The regression relationship is very strong; 87.72% of the variability in the number of cars sold can be explained by the linear relationship between the number of TV ads and the number of cars sold.

26 Slide © 2009 Thomson South-Western. All Rights Reserved Using Excel to Compute the Coefficient of Determination n Displaying the Coefficient of Determination Step 1 Position the mouse pointer over any data point in the scatter diagram and right-click to display in the scatter diagram and right-click to display a list of options a list of options Step 2 Choose Add Trendline Step 3 When the Trendline dialog box appears: Select Trendline Options and then Select Trendline Options and then Choose Display R-squared value on chart Choose Display R-squared value on chart Click Close Click Close

27 Slide © 2009 Thomson South-Western. All Rights Reserved Using Excel to Compute the Coefficient of Determination Reed Auto Sales Estimated Regression Line

28 Slide © 2009 Thomson South-Western. All Rights Reserved Sample Correlation Coefficient where: b 1 = the slope of the estimated regression b 1 = the slope of the estimated regression equation equation

29 Slide © 2009 Thomson South-Western. All Rights Reserved The sign of b 1 in the equation is “+”. Sample Correlation Coefficient r xy =