1 / 34

Issues Regarding Regression Models

Issues Regarding Regression Models. (Lesson - 06/C). 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. Collinearity.

roddy
Download Presentation

Issues Regarding Regression Models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Issues Regarding Regression Models (Lesson - 06/C) Dr. C. Ertuna

  2. 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. Dr. C. Ertuna

  3. Collinearity • A strong but less than perfect linear relationship between the independent variables can cause: • Regression coefficients to be unstable, • Standard errors to the coefficients become large, hence, confidence intervals for coefficients become large and coefficients become imprecise, Dr. C. Ertuna

  4. 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).” Dr. C. Ertuna

  5. 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 Dr. C. Ertuna

  6. 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). Dr. C. Ertuna

  7. 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. Dr. C. Ertuna

  8. 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. Dr. C. Ertuna

  9. 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. Dr. C. Ertuna

  10. 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. Dr. C. Ertuna

  11. 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. Dr. C. Ertuna

  12. 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 • Di > 4 / (n-k-1) • Where, k = number of independent variables Dr. C. Ertuna

  13. Influential Data Diagnostics on SPSS Standardized DfBETA(s): • Change in the regression coefficient that results from the deletion of the ith 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 Dr. C. Ertuna

  14. 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. Dr. C. Ertuna

  15. 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 ). Dr. C. Ertuna

  16. 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. Dr. C. Ertuna

  17. Nonlinear Relationships Diminishing Returns Relationship of Advertising versus Sales Sales Advertising Dr. C. Ertuna

  18. Nonlinear Relationships Diminishing Returns Relationship of Advertising versus Sales Sales Advertising Dr. C. Ertuna

  19. Analysis of Residuals 3 2 1 Residuals 0 -1 -2 (a) Nonlinear Pattern -3 3 2 1 Residuals 0 -1 -2 Dr. C. Ertuna (b) Linear Pattern -3

  20. 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) Dr. C. Ertuna

  21. 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. Dr. C. Ertuna

  22. Analysis of Residuals 3 2 1 Residuals 0 -1 -2 (a) Independent Residuals Time -3 3 2 1 Residuals 0 -1 -2 (b) Residuals Not Independent -3 Dr. C. Ertuna Time

  23. 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 Dr. C. Ertuna

  24. Non-Independence: Remedies • EGLS (Estimated Generalized Least Squares) Methods • Prais-Winsten • Cochrane-Orcutt (Note that these are effective only for first-order autocorrelation.) Dr. C. Ertuna

  25. Tests for Normality Normality of Errors: • Normal-Quantile Plot of Residuals (Errors) • Compute Skewness • Compute Kurtosis • Jarque-Bera Test Dr. C. Ertuna

  26. 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. Dr. C. Ertuna

  27. 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. Dr. C. Ertuna

  28. 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) => yp (or xp) where p = -2, -1, -½, ½, 2, 3 Dr. C. Ertuna

  29. 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. Dr. C. Ertuna

  30. Analysis of Residuals 3 2 1 Residuals 0 -1 -2 -3 x1 (a) Variance Decreases as x Increases Dr. C. Ertuna

  31. Analysis of Residuals 3 2 1 Residuals 0 -1 -2 -3 x1 (b) Variance Increases as x Increases Dr. C. Ertuna

  32. Analysis of Residuals 3 2 1 Residuals 0 -1 -2 -3 x1 (c) Constant Variance Dr. C. Ertuna

  33. Non-Constant Variance: Remedies • Transform dependent variable (y) • y => yp where p = -2, -1, -½, ½, 2, 3 • Weighted Least Square Regression Method Dr. C. Ertuna

  34. Next Lesson (Lesson - 07/A) Qualitative & Judgmental Forecasting Methods Dr. C. Ertuna

More Related