Download presentation
Presentation is loading. Please wait.
Published byAustin Carpenter Modified over 9 years ago
1
Dr. C. Ertuna1 Issues Regarding Regression Models (Lesson - 06/C)
2
Dr. C. Ertuna2 Collinearity A perfect linear relationship between two (or more) independent variables is called collinearity (multi-collinearity) Under this condition, the least-square regression coefficients cannot be uniquely defined.
3
Dr. C. Ertuna3 Collinearity A strong but less than perfect linear relationship between the independent variables can cause: 1.Regression coefficients to be unstable, 2.Standard errors to the coefficients become large, hence, confidence intervals for coefficients become large and coefficients become imprecise,
4
Dr. C. Ertuna4 Collinearity Mesurement One of the measures to determine the impact of Collinearity on the precision of the estimates is called the “Variance Inflation Factor (VIF).”
5
Dr. C. Ertuna5 Collinearity Detection Wrong signs for the coefficients Drastic changes in the coefficients in terms of size and/or sign as a new variable is added to the equation. High VIF
6
Dr. C. Ertuna6 Collinearity: Remedies There is no Quick Fix for collinearity, Some strategies: 1. Variable selection for the model: Based on correlation matrix, some of the highly correlated variables could be excluded from the model, 2. Ridge Regression instead Ordinary Least Squared Regression (OLR).
7
Dr. C. Ertuna7 Unusual Data A single observation that is substantially different from all other observations can make a large difference in the results of your regression analysis. If a single observation (or small group of observations) substantially changes your results, you would want to know about this and investigate further. There are three ways that an observation can be unusual.
8
Dr. C. Ertuna8 Unusual Data Outliers : In linear regression, an outlier is an observation with large residual. In other words, it is an observation whose dependent-variable value is unusual given its values on the predictor variables. An outlier may indicate a sample peculiarity or may indicate a data entry error or other problem.
9
Dr. C. Ertuna9 Unusual Data Leverage : An observation with an extreme value on a predictor variable is called a point with high leverage. Leverage is a measure of how far an independent variable deviates from its mean. These leverage points can have an unusually large effect on the estimate of regression coefficients.
10
Dr. C. Ertuna10 Unusual Data Influence : An observation is said to be influential if removing the observation substantially changes the estimate of coefficients. Influence can be thought of as the product of leverage and outlierness.
11
Dr. C. Ertuna11 Outliers and Influential Data An outlier is an observation whose dependent variable value is unusual given the value of the independent variable Not all outliers has an important effect on the intercept and/or slope of the regression. For an outlier to be influential it should be away from the mean of the independent variable.
12
Dr. C. Ertuna12 Influential Data: Diagnosis Cook’s D If Cook’s distance for a particular observation is greater than a cutoff point than that observation could be considered as influential data. One such cutoff point is –D i > 4 / (n-k-1) –Where, k = number of independent variables
13
Dr. C. Ertuna13 Influential Data Diagnostics on SPSS Standardized DfBETA(s): Change in the regression coefficient that results from the deletion of the i th case. A standardized DfBETA value is computed for each case for each regression coefficient generated by a model. Cut-off Points > 0 means case i increases the slope < 0 means case i decreases the slope |DfBETA(s)| > 2 strong indication of influence |DfBETA(s)| > 2/sqrt(n) might be problem
14
Dr. C. Ertuna14 Influential Data Diagnostics on SPSS Leverage “h” max(h) <= 0.2 : OK, no problem 0.2 <= max(h) <= 0.5, might be problem max(h) > 0.5, usually a problem of too much leverage for one case h > 2k/n, top few % of cases
15
Dr. C. Ertuna15 Influential Data Diagnostics on SPSS Standardized DfFIT Change in the predicted value when the i th case is deleted. Cut-off Point DfFIT| > 2*sqrt(k/n) problem
16
Dr. C. Ertuna16 Influential Data: Remedies The unusual data need to be investigated –For example, it may stem from an error in data entry The model could be re-specified, robust estimation methods could be used, An influential data could only be discarded if it is a truly bad data and cannot be corrected.
17
Dr. C. Ertuna17 Checking the Assumptions There are assumptions that need to be met to accept the results of Regression analysis and use the model for future decision making: Linearity Independence of errors (No autocorrelation), Normality of errors, Constant Variance of errors (Homoscadasticity ).
18
Dr. C. Ertuna18 Tests for Linearity Linearity: Plot dependent variable against each of the independent variables separately. Decide whether linear regression is a “Reasonable” description of the tendency in the data. –Consider curvilinear pattern, –Consider undue influence of one data point on the regression line, etc.
19
Dr. C. Ertuna19 Nonlinear Relationships Advertising Sales Diminishing Returns Relationship of Advertising versus Sales
20
Dr. C. Ertuna20 Nonlinear Relationships Advertising Sales Diminishing Returns Relationship of Advertising versus Sales
21
Dr. C. Ertuna21 Analysis of Residuals Residuals 0 1 2 -2 3 -3 Residuals 0 1 2 -2 3 -3 (a) Nonlinear Pattern (b) Linear Pattern
22
Dr. C. Ertuna22 Tests for Independence Independence of Errors: Plot residuals against time (Residual-Time Plot) –Residuals form y-axis, time form x-axis –If the residuals group alternately into positive and negative clusters then that indicates auto-correlation Ljung-Box Test (Note that only one lag version is applied here)
23
Dr. C. Ertuna23 Residuals-Time Plot Notice the tendency of the residuals to group alternately into positive and negative clusters. That is an indication that the residuals are not independent but auto-correlated.
24
Dr. C. Ertuna24 Analysis of Residuals Residuals 0 1 2 -2 3 -3 (a) Independent Residuals Residuals 0 1 2 -2 3 -3 (b) Residuals Not Independent Time
25
Dr. C. Ertuna25 Ljung-Box Test Compute LB Test Statistics for one lag (Q (1) ) –Q(1) = (n(n-2)/ (n-1) ) * Correl(Data_Range_ 1, Data_Range_ 2 )^2 Compare LB against Chi-square_alpha-value –Chiinv ( alpha / tails, 1) Ho: Q(1) < Chi-square_alpha
26
Dr. C. Ertuna26 Non-Independence: Remedies EGLS (Estimated Generalized Least Squares) Methods –Prais-Winsten –Cochrane-Orcutt (Note that these are effective only for first-order autocorrelation.)
27
Dr. C. Ertuna27 Tests for Normality Normality of Errors: Normal-Quantile Plot of Residuals (Errors) Compute Skewness Compute Kurtosis Jarque-Bera Test
28
Dr. C. Ertuna28 Normal-Quantile Plot of Residuals Sort Residuals (min => max) Create a Rank column Compute z-scores =NORMINV((rank-0.5)/N,0,1) Plot z-scores (x) and residuals (y) For normality the plot should be reasonably linear.
29
Dr. C. Ertuna29 Jarque-Bera Test (in Excel) Compute JB-Test Statistics –JB = (n/6)*Skew(Data_Range)^2 + + (n/24) * ( Kurt(Data_Range)^2 Compute p-value by using the formula –Chdist(JB,2) Ho: Data is normally distributed –Note that JB is very sensitive to sample size, and p_values are not uniformly distributed, hence danger in committing Type I error.
30
Dr. C. Ertuna30 Non-Normality: Remedies To stabilize error variance, one of the most frequently used technique is data transformation. X and/or Y values could be transformed by employing power to those variables, y (or x) => y p (or x p ) where p = -2, -1, -½, ½, 2, 3
31
Dr. C. Ertuna31 Tests for Constant Variance Constant Variance of Errors: Plot residuals against y-estimates: –Residuals form y-axis and estimated y-values form x- axis. –When errors get larger (or smaller) as y-values increase that would indicate non-constant variance. Plot residuals against each x: –Residuals form y-axis and x-values form x-axis.
32
Dr. C. Ertuna32 Analysis of Residuals Residuals 0 1 2 -2 3 -3 x1x1 (a) Variance Decreases as x Increases
33
Dr. C. Ertuna33 Analysis of Residuals Residuals 0 1 2 -2 3 -3 (b) Variance Increases as x Increases x1x1
34
Dr. C. Ertuna34 Analysis of Residuals Residuals 0 1 2 -2 3 -3 (c) Constant Variance x1x1
35
Dr. C. Ertuna35 Non-Constant Variance: Remedies Transform dependent variable (y) –y => y p where p = -2, -1, -½, ½, 2, 3 Weighted Least Square Regression Method
36
Dr. C. Ertuna36 Next Lesson (Lesson - 07/A) Qualitative & Judgmental Forecasting Methods
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.