Lecture 5 Correlation and Regression

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Chapter 12 Simple Linear Regression
Hypothesis Testing Steps in Hypothesis Testing:
Inference for Regression
Correlation and regression Dr. Ghada Abo-Zaid
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
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.
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.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
Correlation and Simple Regression Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Chapter 12 Simple Regression
Linear Regression and Correlation
The Simple Regression Model
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
SIMPLE LINEAR REGRESSION
ASSESSING THE STRENGTH OF THE REGRESSION MODEL. Assessing the Model’s Strength Although the best straight line through a set of points may have been found.
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
1 Simple Linear Regression Chapter Introduction In this chapter we examine the relationship among interval variables via a mathematical equation.
Chapter 9: Correlation and Regression
SIMPLE LINEAR REGRESSION
BCOR 1020 Business Statistics
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Simple Linear Regression Analysis
Relationships Among Variables
Correlation and Linear Regression
Lecture 16 Correlation and Coefficient of Correlation
Regression and Correlation Methods Judy Zhong Ph.D.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Chapter 13: Inference in Regression
Chapter 11 Simple Regression
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Simple Linear Regression Models
EQT 272 PROBABILITY AND STATISTICS
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.
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Elementary Statistics Correlation and Regression.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Lecture 10: Correlation and Regression Model.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Environmental Modeling Basic Testing Methods - Statistics III.
SIMPLE LINEAR REGRESSION. 2 Simple Regression Linear Regression.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
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 + 
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.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
The simple linear regression model and parameter estimation
Chapter 20 Linear and Multiple Regression
Quantitative Methods Simple Regression.
Correlation and Simple Linear Regression
Correlation and Regression
Prepared by Lee Revere and John Large
Correlation and Simple Linear Regression
SIMPLE LINEAR REGRESSION
Simple Linear Regression and Correlation
SIMPLE LINEAR REGRESSION
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

Lecture 5 Correlation and Regression Dr Peter Wheale

A Scatter Plot of Monthly Returns

Interpretation of Correlation Coefficient Correlation Interpretation coefficient (r) (r) r = +1 perfect positive correlation 0 < r < +1 positive linear relationship r = 0 no linear relationship r = -1 perfect negative correlation -1 < r < 0 negative linear relationship

Scatter Plots and Correlation

Covariance of Rates of Return Example: Calculate the covariance between the returns on the two stocks indicated below:

Covariance Using Historical Data Σ = 0.0154 Cov = 0.0154 / 2 = 0.0077 R1 = 0.05 R2 = 0.07

Sample Correlation Coefficient Correlation, ρ, is a standardized measure of covariance and is bounded by +1 and –1 Example: The covariance of returns on two assets is 0.0051 and σ1= 7% and σ2= 11%. Calculate ρ1,2.

Testing H0: Correlation = 0 The test of whether the true correlation between two random variables is zero (i.e., there is no correlation) is a t-test based on the sample correlation coefficient, r. With n (pairs of) observations the test statistic is: Degrees of freedom is n – 2

Example Data: n = 10 r = 0.475 Determine if the sample correlation is significant at the 5% level of significance. t = 0.475 (8)0.5 / [1 – (0.475)2] 0.5 = 1.3435 / 0.88 = 1.5267 The two-tailed critical t – values at a 5% level of significance with df = 8 (n-2) are found to be +/- 2.306. Since -2.306≤ 1.5267≤ 2.306, the null hypothesis cannot be rejected, i.e. correlation between variables X and Y is not significantly different from zero at a 5% significance level.

Testing H0: Correlation = 0 The test of whether the true correlation between two random variables is zero (i.e., there is no correlation) is a t-test based on the sample correlation coefficient, r. With n (pairs of) observations the test statistic is: Degrees of freedom is n – 2

Testing H0: Correlation = 0 The test of whether the true correlation between two random variables is zero (i.e., there is no correlation) is a t-test based on the sample correlation coefficient, r. With n (pairs of) observations the test statistic is: Degrees of freedom is n – 2

Testing H0: Correlation = 0 The test of whether the true correlation between two random variables is zero (i.e., there is no correlation) is a t-test based on the sample correlation coefficient, r. With n (pairs of) observations the test statistic is: Degrees of freedom is n – 2

Linear Regression Dependent variable: you are trying to explain changes in this variable Independent variable: the variable being used to explain the changes in the dependent variable Example: You want to predict housing starts using mortgage interest rates: Independent variable = mortgage interest rates Dependent variable = housing starts

Regression Equation y-Intercept Error Term Independent Variable Slope Coefficient

Assumptions of Linear Regression Linear relation between dependent and independent variables Independent variable uncorrelated with error term Expected value of error term is zero Variance of the error term is constant Error term is independently distributed Error term is normally distributed

Estimated Regression Coefficients Estimated regression line is: Slope Y-Intercept

Estimating the slope coefficient b1 = the cov(X,Y) / var(X) Example Compute the slope coefficient and intercept term for the least squares regression equation using the following information: Where X – Xmean multiplied by Y-Ymean = 445, and X – Xmean squared = 374.50. The sample means of X and Y = 25 and 75, respectively. The slope coefficient, b1 = 445/374.5 = 1.188. The intercept term, b0 = 75 – 1.188 (25) = 45.3.

Calculating the Standard Error of the Estimate (SEE) SEE measures the accuracy of the prediction from a regression equation It is the standard dev. of the error term The lower the SEE, the greater the accuracy

Interpreting the Coefficient of Determination (R2) R2 measures the percentage of the variation in the dependent variable that can be explained by the independent variable An R2 of 0.25 means the independent variable explains 25% of the variation in the dependent variable Caution: You cannot conclude causation

Calculating the Coefficient of Determination (R2) For simple linear regression, R2 is the correlation coefficient (r) squared Example: Correlation coefficient between X and Y, (r) = 0.50 Coefficient of determination = 0.502 = 0.25

Coefficient of Determination (R2) R2 can also be calculated with SST and SSR SS Total = SS Regression + SS Error Total variation = explained variation + unexplained variation