Quantitative Methods Residual Analysis Multiple Linear Regression C.W. Jackson/B. K. Gordor.

Slides:



Advertisements
Similar presentations
Forecasting Using the Simple Linear Regression Model and Correlation
Advertisements

Diagnostics – Part I Using plots to check to see if the assumptions we made about the model are realistic.
Correlation and Regression By Walden University Statsupport Team March 2011.
Inference for Regression
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Prediction, Correlation, and Lack of Fit in Regression (§11. 4, 11
Objectives (BPS chapter 24)
Class 16: Thursday, Nov. 4 Note: I will you some info on the final project this weekend and will discuss in class on Tuesday.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
BA 555 Practical Business Analysis
1 BA 275 Quantitative Business Methods Residual Analysis Multiple Linear Regression Adjusted R-squared Prediction Dummy Variables Agenda.
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Lecture 20 Simple linear regression (18.6, 18.9)
Regression Diagnostics - I
Statistical Analysis SC504/HS927 Spring Term 2008 Session 7: Week 23: 7 th March 2008 Complex independent variables and regression diagnostics.
Simple Linear Regression Analysis
BCOR 1020 Business Statistics Lecture 26 – April 24, 2007.
Stat 112: Lecture 13 Notes Finish Chapter 5: –Review Predictions in Log-Log Transformation. –Polynomials and Transformations in Multiple Regression Start.
Regression Diagnostics Checking Assumptions and Data.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Pertemua 19 Regresi Linier
Business Statistics - QBM117 Statistical inference for regression.
Correlation and Regression Analysis
Regression Model Building Setting: Possibly a large set of predictor variables (including interactions). Goal: Fit a parsimonious model that explains variation.
1 Simple Linear Regression 1. review of least squares procedure 2. inference for least squares lines.
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Model Checking Using residuals to check the validity of the linear regression model assumptions.
Chapter 12 Multiple Regression and Model Building.
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Applied Quantitative Analysis and Practices LECTURE#23 By Dr. Osman Sadiq Paracha.
Economics 173 Business Statistics Lecture 20 Fall, 2001© Professor J. Petry
Chapter 5: Regression Analysis Part 1: Simple Linear Regression.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Chapter 14 Inference for Regression © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
TODAY we will Review what we have learned so far about Regression Develop the ability to use Residual Analysis to assess if a model (LSRL) is appropriate.
1 Regression Analysis The contents in this chapter are from Chapters of the textbook. The cntry15.sav data will be used. The data collected 15 countries’
REGRESSION DIAGNOSTICS Fall 2013 Dec 12/13. WHY REGRESSION DIAGNOSTICS? The validity of a regression model is based on a set of assumptions. Violation.
Multivariate Data Analysis Chapter 2 – Examining Your Data
Residual Analysis Purposes –Examine Functional Form (Linear vs. Non- Linear Model) –Evaluate Violations of Assumptions Graphical Analysis of Residuals.
Stat 112 Notes 14 Assessing the assumptions of the multiple regression model and remedies when assumptions are not met (Chapter 6).
Univariate Point Estimation Confidence Interval Estimation Bivariate: Linear Regression Multivariate: Multiple Regression 1 Chapter 4: Statistical Approaches.
Lecturer: Ing. Martina Hanová, PhD.. Regression analysis Regression analysis is a tool for analyzing relationships between financial variables:  Identify.
Chapter 12: Correlation and Linear Regression 1.
Simple Linear Regression and Correlation (Continue..,) Reference: Chapter 17 of Statistics for Management and Economics, 7 th Edition, Gerald Keller. 1.
Using the regression equation (17.6). Why regression? 1.Analyze specific relations between Y and X. How is Y related to X? 2.Forecast / Predict the variable.
1 Simple Linear Regression Chapter Introduction In Chapters 17 to 19 we examine the relationship between interval variables via a mathematical.
Regression Analysis AGEC 784.
Inference for Least Squares Lines
Linear Regression.
Virtual COMSATS Inferential Statistics Lecture-26
Inferences for Regression
Inference for Regression
Chapter 12: Regression Diagnostics
Linear Regression Models
Regression model Y represents a value of the response variable.
BA 275 Quantitative Business Methods
Two Independent Samples
Simple Linear Regression
Regression Assumptions
Regression Forecasting and Model Building
Chapter 13 Additional Topics in Regression Analysis
Diagnostics and Remedial Measures
Chapter 13 Multiple Regression
Inferences for Regression
Regression Assumptions
Diagnostics and Remedial Measures
Presentation transcript:

Quantitative Methods Residual Analysis Multiple Linear Regression C.W. Jackson/B. K. Gordor

Residual Analysis and Introduction to Multiple Linear Regression Outline Regression Assumptions Diagnostic Checks on Residuals Linearity Independence Constant Variance Normal Probability Plot Introduction to Multiple Linear Regression

Residuals in Regression

Linear Regression Assumptions Four principal assumptions which justify the use of linear regression models for purposes of inference or prediction: Linearity of the relationship between dependent and independent variables: Statistical independence of the errors in particular, no correlation between consecutive errors in the case of time series data) Homoscedasticity (constant variance) of the errors Normality of the error distribution.

Violation of Assumptions If any of these assumptions are violated, i.e. there are nonlinear relationships between dependent and independent variable(s) or the errors exhibit correlation (or non-independence) heteroscedasticity, (i.e. Opposite of homoscedacity or constant variance) non-normality Then statistical procedures such as t-test, p-values, forecasts, confidence intervals, are inefficient, biased or misleading.

Diagnosis Violations of linearity Serious: fitting a linear model to data which are nonlinearly related, leads to errors in predictions (especially when you extrapolate beyond the range of the sample data). How to diagnose Plot of residuals versus independent variables Plot of residuals versus predicted values No violation if Points are symmetrically distributed around horizontal line. No systematic patterns in plots How to remedy violation Consider applying a nonlinear transformation to the dependent and/or independent variables.

Characteristics of a well-behaved residual vs. fits plot The residuals scatter randomly around the 0 line. This suggests that the assumption that the relationship is linear is reasonable. The residuals roughly form a horizontal band around the 0 line. This suggests that the variances of the error terms are equal. No one residual stands out from the basic random pattern of residuals. This suggests that there are no unusual observations (i.e. outliers).

More Diagnosis Violations of Independence Potentially serious (especially in time series regression models) How to diagnose Plot of residuals versus independent variables Assess the residual values for bias (i.e. Not predominantly positive or negative) No violation if The residuals are randomly and symmetrically distributed around zero No correlation between consecutive errors Regression model does not systematically underpredicts or overpredicts.

More Diagnosis Violations of homoscedasticity Violation makes it difficult to estimate the true standard deviation of the forecast errors, resulting in confidence intervals that are too wide or too narrow. How to diagnose Plot of residuals versus predicted values or plots of residuals versus independent variables Violation if Residuals spread out in funnel shape in direction of horizontal axis How to remedy violation Consider applying a log transformation to the dependent variable.

Plot exhibits non constant variance (i.e. no homoscedasticity)

More Diagnosis Violations of normality Calculation of confidence intervals and various significance tests for coefficients are all based on the assumptions of normally distributed errors. How to diagnose Normal probability plot or Normal quantile plot of the residuals. These are plots of the fractiles of error distribution versus the fractiles of a normal distribution having the same mean and variance. No violation if the points on such a plot should fall close to the diagonal reference line. Violation if A bow-shaped pattern of deviations from the diagonal indicates that the residuals have excessive skewness. An S-shaped pattern of deviations indicates that the residuals have excessive kurtosis. How to remedy violation Consider a nonlinear transformation of variables

Example of a bad-looking normal quantile plot

Example of a good-looking normal quantile plot

Introduction to Multiple Linear Regression

Example: Anscombe Data Output from R