© The McGraw-Hill Companies, Inc., 2000 10-1 Chapter 10 Correlation and Regression.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
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
Correlation and Regression
© The McGraw-Hill Companies, Inc., 2000 CorrelationandRegression Further Mathematics - CORE.
Chapter 15 (Ch. 13 in 2nd Can.) Association Between Variables Measured at the Interval-Ratio Level: Bivariate Correlation and Regression.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Elementary Statistics Larson Farber 9 Correlation and Regression.
Linear Regression and Correlation
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
SIMPLE LINEAR REGRESSION
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
RESEARCH STATISTICS Jobayer Hossain Larry Holmes, Jr November 6, 2008 Examining Relationship of Variables.
SIMPLE LINEAR REGRESSION
BCOR 1020 Business Statistics Lecture 24 – April 17, 2008.
Correlation and Regression Analysis
Chapter 12 Section 1 Inference for Linear Regression.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Lecture 5 Correlation and Regression
Correlation and Linear Regression
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Linear Regression and Correlation
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
© The McGraw-Hill Companies, Inc., 2000 Business and Finance College Principles of Statistics Lecture 10 aaed EL Rabai week
Bivariate Regression (Part 1) Chapter1212 Visual Displays and Correlation Analysis Bivariate Regression Regression Terminology Ordinary Least Squares Formulas.
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.
© 2003 Prentice-Hall, Inc.Chap 13-1 Basic Business Statistics (9 th Edition) Chapter 13 Simple Linear Regression.
© The McGraw-Hill Companies, Inc., Chapter 11 Correlation and Regression.
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
Chapter 10 Correlation and Regression
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Elementary Statistics Correlation and Regression.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Copyright © 2010 Pearson Education, Inc Chapter Seventeen Correlation and 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.
Chapter 7 Calculation of Pearson Coefficient of Correlation, r and testing its significance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Correlation and Regression Elementary Statistics Larson Farber Chapter 9 Hours of Training Accidents.
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.
Bivariate Regression. Bivariate Regression analyzes the relationship between two variables. Bivariate Regression analyzes the relationship between two.
Regression and Correlation
10.2 Regression If the value of the correlation coefficient is significant, the next step is to determine the equation of the regression line which is.
Correlation and Simple Linear Regression
Simple Linear Regression
CHAPTER 10 Correlation and Regression (Objectives)
Correlation and Regression
Correlation and Regression
Correlation and Regression
SIMPLE LINEAR REGRESSION
SIMPLE LINEAR REGRESSION
Correlation and Simple Linear Regression
Presentation transcript:

© The McGraw-Hill Companies, Inc., Chapter 10 Correlation and Regression

© The McGraw-Hill Companies, Inc., Objectives Correlation: Draw a scatter plot for a set of ordered pairs. Find the correlation coefficient, r. Test the hypothesis H 0 :  = 0.

© The McGraw-Hill Companies, Inc., Objectives Regression: Find the equation of the regression line. Find the coefficient of determination. Find the standard error of estimate.

© The McGraw-Hill Companies, Inc., Scatter Plots A scatter plot (x, y) x y A scatter plot is a graph of the ordered pairs (x, y) of numbers consisting of the independent variable, x, and the dependent variable, y.

© The McGraw-Hill Companies, Inc., Scatter Plots - Scatter Plots - Example Construct a scatter plot for the data obtained in a study of age and systolic blood pressure of six randomly selected subjects. The data is given on the next slide.

© The McGraw-Hill Companies, Inc., Scatter Plots - Scatter Plots - Example

© The McGraw-Hill Companies, Inc., Scatter Plots - Scatter Plots - Example Positive Relationship

© The McGraw-Hill Companies, Inc., Scatter Plots - Scatter Plots - Other Examples Negative Relationship

© The McGraw-Hill Companies, Inc., Scatter Plots - Scatter Plots - Other Examples No Relationship

© The McGraw-Hill Companies, Inc., Correlation Coefficient correlation coefficient The correlation coefficient computed from the sample data measures the strength and direction of a relationship between two variables. Sample correlation coefficient, r. Population correlation coefficient, 

© The McGraw-Hill Companies, Inc., Range of Values for the Correlation Coefficient  Strong negative relationship Strong positive relationship No linear relationship

© The McGraw-Hill Companies, Inc., Formula for the Correlation Coefficient r                  r nxyxy nxxnyy          Where n is the number of data pairs

© The McGraw-Hill Companies, Inc., Correlation Coefficient – Correlation Coefficient – Example (Verify) correlation coefficient Compute the correlation coefficient for the age and blood pressure data.

© The McGraw-Hill Companies, Inc., The Significance of the Correlation Coefficient population corelation coefficient The population corelation coefficient, , is the correlation between all possible pairs of data values (x, y) taken from a population.

© The McGraw-Hill Companies, Inc., The Significance of the Correlation Coefficient H 0 :  = 0 H 1 :   0 This tests for a significant correlation between the variables in the population.

© The McGraw-Hill Companies, Inc., Formula for the t tests for the Correlation Coefficient t n r with dfn    

© The McGraw-Hill Companies, Inc., Example Test the significance of the correlation coefficient for the age and blood pressure data. Use  = 0.05 and r = Step 1: Step 1: State the hypotheses. H 0 :  = 0 H 1 :  0

© The McGraw-Hill Companies, Inc., Step 2: Step 2: Find the critical values. Since  = 0.05 and there are 6 – 2 = 4 degrees of freedom, the critical values are t = and t = – Step 3: Step 3: Compute the test value. t = (verify). Example

© The McGraw-Hill Companies, Inc., Step 4: Step 4: Make the decision. Reject the null hypothesis, since the test value falls in the critical region (4.059 > 2.776). Step 5: Step 5: Summarize the results. There is a significant relationship between the variables of age and blood pressure. Example

© The McGraw-Hill Companies, Inc., 2000 Using SPSS Open SPSS and add the example data in side-by-side columns Click: Analyze | Correlate | Bivariate… Move both variables into Variables Check Pearson then OK box Output follows

© The McGraw-Hill Companies, Inc., 2000 SPSS Output Matrix shows all correlations but ones on principal diagonal are irrelevant (i.e., 1s) Actual r is 0.897; * means it was significant. Correlations AgePressure AgePearson Correlation1.897 * Sig. (2-tailed).015 N66 PressurePearson Correlation.897 * 1 Sig. (2-tailed).015 N66 *. Correlation is significant at the 0.05 level (2-tailed).

© The McGraw-Hill Companies, Inc., The scatter plot for the age and blood pressure data displays a linear pattern. We can model this relationship with a straight line. This regression line is called the line of best fit or the regression line. The equation of the line is y = a + bx. Regression

© The McGraw-Hill Companies, Inc., Formulas for the Regression Line Formulas for the Regression Line y = a + bx.                      a yxxxy nxx b n xy nxx               Where a is the y intercept and b is the slope of the line. 

© The McGraw-Hill Companies, Inc., Example Find the equation of the regression line for the age and the blood pressure data. Substituting into the formulas give a = and b = (verify). Hence, y = x. ainterceptb slope Note, a represents the intercept and b the slope of the line.

© The McGraw-Hill Companies, Inc., Example y = x

© The McGraw-Hill Companies, Inc., Using the Regression Line to Predict The regression line can be used to predict a value for the dependent variable (y) for a given value of the independent variable (x). Caution: Caution: Use x values within the experimental region when predicting y values.

© The McGraw-Hill Companies, Inc., Example Use the equation of the regression line to predict the blood pressure for a person who is 50 years old. Since y = x, then y = (50) =  129. Note that the value of 50 is within the range of x values. 

© The McGraw-Hill Companies, Inc., Coefficient of Determination and Standard Error of Estimate coefficient of determination The coefficient of determination, denoted by r 2, is a measure of the variation of the dependent variable that is explained by the regression line and the independent variable.

© The McGraw-Hill Companies, Inc., Coefficient of Determination and Standard Error of Estimate r 2 is the square of the correlation coefficient. coefficient of nondetermination The coefficient of nondetermination is (1 – r 2 ). Example: If r = 0.90, then r 2 = 0.81.

© The McGraw-Hill Companies, Inc., Coefficient of Determination and Standard Error of Estimate standard error of estimate The standard error of estimate, denoted by s est, is the standard deviation of the observed y values about the predicted y values. The formula is given on the next slide.

© The McGraw-Hill Companies, Inc., Formula for the Standard Error of Estimate   s yy n or s yaybxy n est         

© The McGraw-Hill Companies, Inc., Standard Error of Estimate - Standard Error of Estimate - Example From the regression equation, y = x and n = 6, find s est. Here, a = 55.57, b = 8.13, and n = 6. Substituting into the formula gives s est = 6.48 (verify).

© The McGraw-Hill Companies, Inc., 2000 Using SPSS Open SPSS and add the example data in side-by-side columns Click: Analyze | Regression | Linear… Move dependent (Pressure) variable to Dependent: box Move independent variable to Independent(s): box

© The McGraw-Hill Companies, Inc., 2000 SPSS Output Look in box labelled Coefficients. Slope of regression is in red circle (0.964). y-intercept is in green (81.048). Coefficients a ModelUnstandardized CoefficientsStandardized Coefficients BStd. ErrorBetatSig. 1(Constant) Age a. Dependent Variable: Pressure