Abstract
Multicollinearity is a phenomenon in which two or more identified predictor variables in a multiple regression model are co-dependent or highly correlated. The presence of this phenomenon can have a negative impact on the analysis as a whole and can severely limit the conclusions of the research study. This paper reviews and provides examples of the different ways in which multicollinearity can affect a research project, how to detect multicollinearity, and how one can reduce its impact through Ridge Regression.
Introduction
Multicollinearity is often described as the statistical phenomenon wherein there exists a perfect or exact relationship between predictor variables. From a conventional standpoint, this can occur in regression when multiple predictors are highly correlated with each other (Allison, 2012; Chatterjee et al., 2000), thus the term “multicollinearity”. However, variables do not need to be highly correlated for collinearity to exist, though this is oftentimes the case. No matter how this relationship is discovered, one of the best ways to think of collinearity is as a type of variable “co-dependence”, as this is a more accurate description of how collinear variables respond to each other.
Why is this important? When things are related, we say that they are linearly dependent. In other words, they fit well into a straight regression line that passes through many data points. In the incidence of multicollinearity, it is difficult to come up with reliable estimates of individual coefficients for the predictor variables in a model which results in incorrect conclusions about the relationship between the outcome and predictors. Therefore, in the consideration of a multiple regression model in which a series of predictor variables were chosen in order to test their impact on the outcome variable, it is essential that multicollinearity not be present (Afshartous & Preston, 2011; Draper & Smith, 2003).
A linear example
Another way to look at this issue is by considering the base multiple linear regression Eq. (1) structure (Joshi et al., 2012):
In this equation,
Collinearity is especially problematic when a model’s purpose is explanation rather than prediction. In the case of explanation, it is more difficult for a model containing collinear variables to achieve significance of the different parameters. In the case of prediction, if the estimates end up being statistically significant, they are still only as reliable as any other variable in the model, and if they are not significant, then the sum of the coefficients is likely to be reliable. In summary if collinearity is found in a model testing prediction, then one need only increase the sample size of the model. However, if collinearity is found in a model seeking to explain, then more intense measures are needed. The primary concern resulting from multicollinearity is that as the degree of collinearity increases, the regression model estimates of the coefficients become unstable and the standard errors for the coefficients become wildly inflated.
Detecting multicollinearity
We will begin by exploring the different diagnostic strategies for detecting multicollinearity in a dataset. While reviewing this section, the author would like you to think logically about the model being explored. Try identifying possible multicollinearity issues before reviewing the results of the diagnostic tests.
Introduction to the datset
The dataset used for this paper is easily accessible by anyone with access to SAS
Data cleaning and preparation
As always, all data should be cleansed and prepared before any rigorous data analyses can be conducted. This includes an examination of the quantity and occurrence of missing data, distributional assumptions, skewness, kurtosis, data entry errors, and potential outliers. Descriptive statistics, kernel density plots, normality tests, and Q-Q plots could aid in this step. Additionally, examining preliminary associations of each independent variable with the outcome variable using chi-square, t-tests, or simple bivariate regression models would be beneficial to any analyst’s understanding of the data. Given the introductory nature of this review, these steps will not be covered in detail; however, it is important to consider them in any formal exploration.
Multicollinearity investigation
Now we can begin to explore whether or not the chosen model is suffering the effects of multicollinearity. Given the analyses conducted above, there are a few potentially high correlations that demand some attention: (1) exercise and systolic/diastolic blood pressure, (2) coffee and systolic/diastolic blood pressure, and (3) overall cholesterol and HDL/LDL levels. These are just a few of the possible collinearity issues that can be explored within this dataset. For the purpose of brevity, we will concentrate on the third relationship: overall cholesterol and HDL/LDL levels.
Our first step is to explore the correlation matrix (Joshi et al., 2012). This can be done in SAS through use of the CORR procedure. The results are available in Table 1. Variables of particular interest have a high correlation – about 0.8 or higher – with another variable. As the correlation matrix in this table shows, there seems to be some particularly high correlations between a few of the variables. Some relationships of note would be Cholesterol/LDL (0.96) and Weight/Height (0.70). Next we will examine multicollinearity through the Variance Inflation Factor, Tolerance, and Collinearity Diagnostics (Joshi et al., 2012). This can be done by specifying the vif, tol, and collin options respectively after the model statement in SAS.
Pearson correlation coefficients
Pearson correlation coefficients
When considering variance inflation, the magic number to look out for is anything above the value of 10 (Hair et al., 1995; Kennedy, 1992; Marquardt, 1970; Neter et al., 1989). The earlier collinearity findings are supported in the Variance Inflation results, where these same variables reveal values far larger than 10. As for tolerance, we want to make sure that no values fall below 0.1 (given that tolerance is 1/VIF). In reviewing the results in Table 2, we can see several variables – namely cholesterol, triglycerides, HDL, and LDL – have values well below our 0.1 cutoff value. Next, we will look at the collinearity diagnostics for an eigensystem analysis of covariance comparison.
Parameter estimates for initial model
In review of the collinearity diagnostics outlined in Table 3, our focus is going to be on the relationship of the eigenvalue column to the condition index column. If one or more of the eigenvalues are small (close to zero) and the corresponding condition number large, then we have an indication of multicollinearity. As for our results, Table 3 shows large deviations in the final three factors, with the eigenvalue landing very close to zero (0.00695, 0.00100, and 1.02E-8) and the condition index being quite large in comparison (33.02, 86.87, and 27272).
Collinearity investigation results
Now that we have uncovered the presence of multicollinearity, the next step is to combat it. The easiest way to approach this would be to drop one of the problem variables and rerun the analysis to test for further multicollinearity. If none exist, then we can continue with our exploration with this newer, trimmed model. This is a viable and preferred option for those models in which the collinear variables are not of primary interest to the analyst (e.g. covariates) and could be removed from the model without consequence to the study objective. However, we will not always be able to utilize this option (e.g. the variable is a confounder and must be retained). There are just some variables, no matter how highly correlated they are, that we need to keep in the model for the sake of being thorough. For these models, we need to explore other methods of model development.
Regularization methods
Statistical theory and machine learning have made great strides in defining regularization techniques that are designed to help generalize models with highly complex relationships (such as multicollinearity) (Ng, 2004). In its most simplistic form, regularization adds a penalty to model parameters (all except intercepts) so the model generalizes the data instead of overfitting (a side effect of multicollinearity).
There are two main types of regularization: L1 (Lasso Regression) and L2 (Ridge Regression). The key difference between these two types of regularization can be found in how they handle the penalty. Through Ridge Regression, a squared magnitude of the coefficient is added as the penalty term to the loss function. Take the following cost function Eq. (2) as an example (Rosenberg, 2015; van Wieringen, 2018):
Considering the above Eq. (2), if lambda (
Through Lasso Regression (Least Absolute Shrinkage and Selection Operator), the absolute value of magnitude of the coefficient is added as the penalty term to the loss function. As before, let us take the following cost function Eq. (3) into consideration (Rosenberg, 2015):
Considering the above Eq. (3) like before, if lambda (
The key difference between these two techniques lies in the fact that Lasso is intended to shrink the coefficient of the less important variables to zero, thus removing some of these features altogether, which works well if feature selection is the goal of a particular model trimming technique (“Differences between L1 and L2”, 2013). However, if the correction of multicollinearity is your goal, then Lasso (L1 regulation) is not the method of choice.
Therefore, L2 regulation techniques become our method of choice. Ridge Regression is a relatively simple process that can be employed to help correct for incidents of multicollinearity where the subtraction of a variable is not an option and feature selection is not a concern. The trade-off of this type of adjustment is that it naturally results in biased estimates, so it is important to keep this in mind when presenting the results of its application.
Ridge Regression is a variant of least squares regression and is oftentimes used when multicollinearity cases are identified. The traditional ordinary least squares (OLS) regression produces unbiased estimates for the regression coefficients, however, if you introduce the confounding issue of highly correlated explanatory variables, your resulting OLS parameter estimates end up with large variance (as discussed earlier). Therefore, it could be beneficial to utilize a technique such as Ridge Regression in order to ensure a smaller variance in resulting parameter estimates (Chatterjee et al., 2000; Wicklin, 2013).
From the final Ridge Regression results (Table 4), we can derive the appropriate ridge parameter or “k” to include in the analysis. In review of Table 4, we want to focus on the ridge parameter column and the associated values under each variable column in order to derive the new parameter estimates. There are several schools of thought concerning how to choose the best value of “k”. The author recommends reading Dorugade and Kashid’s 2010 paper for more information on this matter. The current study will look for the least increase in root mean square error (RMSE) with an appropriate decrease in ridge variable inflation factors for each variable. Table 4 shows a gradual adjustment over several iterations of potential “k” values between the range of 0 (no adjustment) and 0.00014. Ultimately, it seems that the ridge parameter of 0.00012 is the best option, as there is only a slight increase in RMSE from 26.0275 to 26.4517 and significant drop in VIF for each of the target predictor variables to below our cutoff of 10.
Ridge Regression results for cholesterol loss model
Ridge Regression results for cholesterol loss model
Parameter estimates for adjusted model
The results displayed in Table 5 can then be used as the final adjusted model with the multicollinearity issue controlled. We can use these results in our interpretation of the model. For example, in our original model, were all other variables to remain the same, a one unit increase in cholesterol would result in an estimated 169.20 unit decrease in cholesterol loss with a standard error of 157.60; however, in our adjusted model, were all other variables to remain the same, a one unit increase in cholesterol would result in an estimated 0.19 unit decrease in cholesterol loss with a standard error of 0.33. This new estimation makes a lot more sense given the range and types of data we are working with, and would not have been possible had we not corrected for multicollinearity through Ridge Regression. Additionally, considering that total cholesterol is a part of the calculation of cholesterol loss, a higher total cholesterol at baseline might be expected to show a larger decrease in cholesterol over time given certain health interventions (e.g. decrease coffee consumption or increased exercise), which also matches our final model.
Multicollinearity, if left untouched, can have a detrimental impact on the generalizability and accuracy of a model. If multicollinearity exists the traditional ordinary least squares estimators are imprecisely estimated, which leads to an inaccuracy in judgment as to how each predictor variable impacts the target outcome variable. Given this information it is essential to detect and solve the issue of multicollinearity before estimating the parameters based on a fitted regression model.
Detecting multicollinearity is a fairly simple procedure that should be explored before implementation of any model utilizing predictor variables that have a chance of being related to each other. Pearson correlation coefficients can be useful in multicollinearity detection, however, these alone are not enough to detect collinearity. Additional measures of collinearity detection include VIF, tolerance, and collinearity diagnostic procedures. After discovering the existence of multicollinearity, you can correct for this through the utilization of a variety of different regularization and variable reduction techniques. One such way to control for multicollinearity is through the implementation of Ridge Regression techniques. Through the steps outlined in this paper, one should be able to not only detect any issue of multicollinearity, but also resolve it in only a few short steps.
Future directions
As is common with many studies, the implementations of Ridge Regression can not be concluded as an end all for multicollinearity issues. Unfortunately, the trade-off of this technique is that a method such as Ridge Regression naturally results in biased estimates. A more thorough review into the assumptions and specifications of Ridge Regression would be appropriate if you intend to use this model for explanatory purposes of highly complex models.
On the other hand, several researchers and data scientists have worked hard to explore the value of procedures like Elastic Nets and bootstrapping to help resolve the L1/L2 debate to multicollinearity correction (Cross Validated, 2015; Shtatland et al., 2004; Dixon, 1993; Efron, 1993; Hall, 1992; Hjorth, 1994; Shao & Tu, 1995; Stine, 1990; Unknown, 2010). There also exists substantive research into the cause and effect of multicollinearity in studies from fields across the research spectrum. For every issue that arises, there is a plethora of procedures that could be used to help control for and correct the effects that an issue such as multicollinearity can have on the integrity of a model. Given this, the author has included several references and recommended articles for your review to help further the understanding of all statisticians and programmers as to the effects of multicollinearity on research models. SAS code and calculations used for this paper are available upon request.
