Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

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.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Correlation and Regression
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
© The McGraw-Hill Companies, Inc., 2000 CorrelationandRegression Further Mathematics - CORE.
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.
9. SIMPLE LINEAR REGESSION AND CORRELATION
Linear Regression and Correlation
1 Pertemuan 13 Uji Koefisien Korelasi dan Regresi Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
SIMPLE LINEAR REGRESSION
Introduction to Probability and Statistics Linear Regression and Correlation.
SIMPLE LINEAR REGRESSION
Korelasi dalam Regresi Linear Sederhana Pertemuan 03 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
BCOR 1020 Business Statistics
Simple Linear Regression and Correlation
Chapter 7 Forecasting with Simple Regression
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Lecture 5 Correlation and Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION
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.
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
Learning Objective Chapter 14 Correlation and Regression Analysis CHAPTER fourteen Correlation and Regression Analysis Copyright © 2000 by John Wiley &
© The McGraw-Hill Companies, Inc., 2000 Business and Finance College Principles of Statistics Lecture 10 aaed EL Rabai week
EQT 272 PROBABILITY AND STATISTICS
Ms. Khatijahhusna Abd Rani School of Electrical System Engineering Sem II 2014/2015.
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.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
Chapter 3: Introductory Linear Regression
© The McGraw-Hill Companies, Inc., Chapter 11 Correlation and Regression.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
CHAPTER 3 INTRODUCTORY LINEAR REGRESSION. Introduction  Linear regression is a study on the linear relationship between two variables. This is done by.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 13 Multiple Regression
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
C HAPTER 4: I NTRODUCTORY L INEAR R EGRESSION Chapter Outline 4.1Simple Linear Regression Scatter Plot/Diagram Simple Linear Regression Model 4.2Curve.
SIMPLE LINEAR REGRESSION. 2 Simple Regression Linear Regression.
Correlation & Regression Analysis
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 5: Introductory Linear Regression
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Chapter 5: Introductory Linear Regression. INTRODUCTION TO LINEAR REGRESSION Regression – is a statistical procedure for establishing the relationship.
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.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 5 STATISTICS (PART 4).
SIMPLE LINEAR REGRESSION MODEL
Simple Linear Regression
Quantitative Methods Simple Regression.
CHAPTER 10 Correlation and Regression (Objectives)
Correlation and Regression
Prepared by Lee Revere and John Large
Correlation and Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION
Simple Linear Regression and Correlation
SIMPLE LINEAR REGRESSION
St. Edward’s University
Presentation transcript:

Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS

CHAPTER 5 INTRODUCTION TO LINEAR REGRESSION

CHAPTER OUTLINE INTRODUCTI ON SCATTE R PLOT LINEAR REGRESSIO N MODEL LEAST SQUARE METHOD COEFFICIENT DETERMINATION CORRELATION TEST OF SIGNIFICANC E ANALYSIS OF VARIANC E (ANOVA)

  Regression – is a statistical procedure for establishing the relationship between 2 or more variables.  This is done by fitting a linear equation to the observed data.  The regression line is then used by the researcher to see the trend and make prediction of values for the data.  There are 2 types of relationship:  Simple ( 2 variables)  Multiple (more than 2 variables) 5.1 INTRODUCTION TO REGRESSION

  is an equation that describes a dependent variable (Y) in terms of an independent variable (X) plus random error ε where, = intercept of the line with the Y-axis = slope of the line = random error  Random error, is the difference of data point from the deterministic value.  This regression line is estimated from the data collected by fitting a straight line to the data set and getting the equation of the straight line, THE SIMPLE LINEAR REGRESSION MODEL

Example 5.1: (Determine independent, X and dependent variable, Y) 1) A nutritionist studying weight loss programs might wants to find out if reducing intake of carbohydrate can help a person reduce weight. a)X is the carbohydrate intake (independent variable). b)Y is the weight (dependent variable). 2) An entrepreneur might want to know whether increasing the cost of packaging his new product will have an effect on the sales volume. a)X is the cost (independent variable) b)Y is sales volume (dependent variable)

 5.2 SCATTER PLOT  A scatter plot is a graph or ordered pairs (x,y).  The purpose of scatter plot – to describe the nature of the relationships between independent variable, X and dependent variable, Y in visual way.  The independent variable, x is plotted on the horizontal axis and the dependent variable, y is plotted on the vertical axis.

  Positive linear relationship SCATTER DIAGRAM E(y)E(y)E(y)E(y) x Intercept  0 Regression line Slope  1 is positive

  Negative linear relationship SCATTER DIAGRAM E(y)E(y)E(y)E(y) x  0  0Intercept Regression line Slope  1 is negative

  No relationship SCATTER DIAGRAM E(y)E(y)E(y)E(y) x  0  0Intercept Regression line Slope  1 is 0

  A linear regression can be develop by freehand plot of the data. Example 5.2: The given table contains values for 2 variables, X and Y. Plot the given data and make a freehand estimated regression line. 5.3 LINEAR REGRESSION MODEL

 The least squares method is commonly used to determine values for and that ensure a best fit for the estimated regression line to the sample data points The straight line fitted to the data set is the line: 5.4 LEAST SQUARES METHOD

 LEAST SQUARES METHOD  y-Intercept for the Estimated Regression Equation, is the mean of x is the mean of y

 LEAST SQUARES METHOD  Slope for the Estimated Regression Equation,

 LEAST SQUARES METHOD

 Given any value of the predicted value of the dependent variable can be found by substituting into the equation LEAST SQUARES METHOD

Example 5.2: Suppose we take a sample of seven household from a low to moderate income neighborhood and collect information on their incomes and food expenditures for the past month. The information obtained (in hundreds of ringgit Malaysia) is given below. Find the least squares regression line of food expenditure (Y) on income (X) IncomeFood expenditure

Solution: To find the least squares regression line, you must know these seven information!!!!!

The estimated regression model

  Simple linear regression involves two estimated parameters which are β 0 and β 1.  Test of hypothesis is used in order to know whether independent variable is significant to dependent variable.  The analysis of variance (ANOVA) method is an approach to test the significance of the regression. 5.5 INFERENCES OF ESTIMATED PARAMETERS

 ANOVA table Source of variation Sum of squares Degree of freedom Mean square f test Regression1MSR f = MSR/MSE ErrorSSE=SST- SSR n-2MSE TotalSST=S yy n-1

 ANOVA table for Example 5.2 Source of variation Sum of squaresDegree of freedom Mean square f test Regression SSR =0.2642( ) = MSR = f = MSR/MSE = / = Error SSE= = = 5 MSE =4.9222/5 = Total SST = = 6

  To determine whether X provides information in predicting Y, we proceed with testing the hypothesis.  Two test are commonly used:  t Test  F Test 5.6 TEST OF SIGNIFICANCE

 1.Determine the hypothesis 2.Determine the rejection region 3.Compute the test statistics 4.Conclusion t Test

1.Determine the hypothesis (NO RELATIONSHIP) (THERE IS RELATIONSHIP) 2.Determine the rejection region We reject H 0 if 3.Compute the test statistics 4.Conclusion If we reject H 0 there is a significant relationship between variable X and Y.

 F Test 1.Determine the hypothesis 2.Determine the rejection region 3.Compute the test statistics 4.Conclusion

1.Determine the hypothesis (NO RELATIONSHIP) (THERE IS RELATIONSHIP) 2.Determine the rejection region We reject H 0 if 3.Compute the test statistics 4.Conclusion If we reject H 0 there is a significant relationship between variable X and Y.

  Correlation measures the strength of a linear relationship between the two variables.  Also known as Pearson’s product moment coefficient of correlation.  The symbol for the sample coefficient of correlation is r.  Formula : 5.7 CORRELATION ( r )

 Values of r close to 1 strong positive linear relationshi p between x and y. close to - 1 strong negative linear relationshi p between x and y. close to 0 little or no linear relationshi p between x and y.

  The coefficient of determination is a measure of the variation of the dependent variable (Y) that is explained by the regression line and the independent variable (X).  If r = 0.90, then r 2 = It means that 81% of the variation in the dependent variable (Y) is accounted for by the variations in the independent variable (X).  The rest of the variation, 0.19 or 19%, is unexplained and called the coefficient of nondetermination.  Formula for the coefficient of nondetermination is 1- r COEFFICIENT OF DETERMINATION( r 2 )

Exercise 1 The following table gives information on lists of the midterm, X, and final exam, Y, scores for seven students in a statistics class. 1. Find the least squares regression line. 2. Calculate r and r 2, and explain the values. 3. Predict the final exam scores the student will get if he/she got 60 marks for midterm test. 4. Construct ANOVA table. Do the data support the existence of a linear relationship between midterm and final exam. Test using α = 0.05 X Y

A research engineer is investigating the use of a windmill to generate electricity and has collected data on the DC output from this windmill and the corresponding wind velocity as shown in the table below. Exercise 2 Observation Number, i [Nombor Pemerhatian, i] Wind Velocity (mph), x i [Halaju Angin (mph), x i ] DC Output, y i [Output DC, y i ]

(i) Find the least squares regression line. (ii)Calculate r and r 2, and explain the results. (iii)Do the data support the existence of a linear relationship between the wind velocity and the DC output? Test using t-test at α=0.01.