<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>FAQ/Collinearity</title><revhistory><revision><revnumber>28</revnumber><date>2015-01-22 09:20:05</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>27</revnumber><date>2015-01-22 09:19:47</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>26</revnumber><date>2015-01-21 16:03:29</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>25</revnumber><date>2015-01-21 15:30:42</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>24</revnumber><date>2015-01-21 15:29:54</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>23</revnumber><date>2015-01-21 15:29:13</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>22</revnumber><date>2015-01-21 15:28:49</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>21</revnumber><date>2015-01-21 15:28:34</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>20</revnumber><date>2015-01-21 15:28:11</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>19</revnumber><date>2015-01-21 15:16:48</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>18</revnumber><date>2015-01-21 15:13:07</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>17</revnumber><date>2015-01-21 15:10:28</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>16</revnumber><date>2015-01-21 15:09:33</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>15</revnumber><date>2015-01-21 15:07:06</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>14</revnumber><date>2015-01-21 15:06:54</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>13</revnumber><date>2015-01-15 14:39:33</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>12</revnumber><date>2015-01-15 14:39:14</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>11</revnumber><date>2015-01-15 14:38:49</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>10</revnumber><date>2015-01-15 14:36:52</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>9</revnumber><date>2015-01-15 14:36:38</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>8</revnumber><date>2015-01-15 14:35:33</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>7</revnumber><date>2013-03-08 10:17:13</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>6</revnumber><date>2008-08-19 11:06:56</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>5</revnumber><date>2008-08-19 11:06:31</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>4</revnumber><date>2008-08-19 11:05:07</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>3</revnumber><date>2006-06-30 22:57:03</date><authorinitials>Scripting Subsystem</authorinitials></revision><revision><revnumber>2</revnumber><date>2006-06-30 22:55:31</date><authorinitials>Scripting Subsystem</authorinitials></revision><revision><revnumber>1</revnumber><date>2006-06-30 21:37:53</date><authorinitials>Scripting Subsystem</authorinitials></revision></revhistory></articleinfo><section><title>Collinearity</title><section><title>Its origins, effects, signs, symptoms and cures</title><section><title>Origins: What is Collinearity?</title><itemizedlist><listitem><para><emphasis role="strong">Collinearity</emphasis> occurs when a predictor is too highly correlated with one or more of the other predictors. </para></listitem><listitem><para>Sometimes this is referred to as <emphasis role="strong">multicollinearity.</emphasis> </para></listitem><listitem><para>In effect, one or more of the predictors can be closely modelled as a linear combination of the other predictors. </para></listitem></itemizedlist></section><section><title>The Impact of Collinearity</title><itemizedlist><listitem><para>The regression coefficients are very sensitive to minor changes in the data. </para></listitem><listitem><para>The regression coefficients have large standard errors, which lead to low power for the predictors. </para></listitem><listitem><para>In the extreme case <emphasis role="strong">singularity</emphasis> occurs. The matrix of variances and covariances is <emphasis role="strong">singular</emphasis> and cannot be inverted, and and so the regression equation cannot be calculated. </para></listitem></itemizedlist></section><section><title>Indices of Collinearity</title><para>There are a profusion of numerical measures related to collinearity: <emphasis role="strong">Tolerances</emphasis>, <emphasis role="strong">Variance Inflation Factors</emphasis>, <emphasis role="strong">Condition Indexes</emphasis> and <emphasis role="strong">Variance Proportions</emphasis> </para><para>Tolerance = 1-R(X)<superscript>2 </superscript> </para><para>= 1-(correlation between predictor X and all the other predictors)<superscript>2 </superscript> </para><para>Tolerance tells us: The amount of overlap between the predictor and all other remaining predictors. The degree of instability in the regression coefficients. Tolerance values less than 0.10 are often considered to be an indication of collinearity. </para><para>The VIF tells us: The degree to which the standard error of the predictor is increased due to the predictor’s correlation with the other predictors in the model. VIF values greater than 10 (or, Tolerance values less than 0.10) corresponding to a multiple correlation of 0.95 indicates a multicollinearity may be a problem (Hair Jr, JF, Anderson, RE, Tatham, RL and Black, WC, 1998). <ulink url="https://lsr-wiki-01.mrc-cbu.cam.ac.uk/statswiki/FAQ/Collinearity/statswiki/FAQ/Collinearity?action=AttachFile&amp;do=get&amp;target=fw.pdf">Fox and Weisberg</ulink> also comment that the straightforward VIF can’t be used if there are variables with more than one degree of freedom (e.g. polynomial and other contrasts relating to categorical variables with more than two levels) and recommend using the gvif function (generalized variance inflation factor) in the car package in R in these cases. gvif is the square root of the VIF for individual predictors and thus can be used equivalently. More generally generalized variance-inflation factors consist of the VIF corrected by the number of degrees of freedom (df) of the predictor variable: GVIF = VIF<superscript>[1/(2*df)]</superscript> and may be compared to thresholds of 10<superscript>[1/(2*df)]</superscript> to assess collinearity using the stepVIF function in R ( see   <ulink url="http://rpackages.ianhowson.com/rforge/pedometrics/man/stepVIF.html">here</ulink>). </para><para><anchor id="Condition Indices"/> </para><section><title>Condition Indices</title><para>The standard measure of ill-conditioning in a matrix is the condition index. It will indicate that the inversion of the matrix is numerically unstable with finite-precision numbers ( standard computer floats and doubles ). This indicates the potential sensitivity of the computed inverse to small changes in the original matrix. The Condition Number is computed by finding the square root of (the maximum eigenvalue divided by the minimum eigenvalue). <emphasis role="underline">A collinearity problem is indicated (Hair et al, 1998, page 220) when a condition index above the threshold value of 30 accounts for a substantial proportion of variance (0.90 or above) for two or more variables (excluding the constant term)</emphasis>.  </para><para><anchor id="Correlation Matrix"/> </para></section><section><title>Correlation Matrix</title><para>Construction of a correlation matrix among the explanatory variables will yield indications as to the likelihood that any given couplet of right-hand-side variables are creating multicollinearity problems. Correlation values (off-diagonal elements) of at least .9 are sometimes interpreted as indicating a multicollinearity problem. (Hair et al., 1998). </para><para><anchor id="Variance Proportions"/> </para></section><section><title>Variance Proportions</title></section></section><section><title>When to take action</title><para>Taken together, they provide information about… whether collinearity is a concern if collinearity is a concern, which predictors are “too” highly correlated Belsley (1991, p. 56) ‘Weak Dependencies’ have condition indices around 5-10 and two or more variance proportions greater than 0.50. ‘Strong Dependencies’ have condition indices around 30 or higher and two or more variance proportions greater than 0.50. </para></section><section><title>What to do</title><para>Convert all the predictors to Z-scores to minimize the effects of rounding errors. (This may not be sufficient.) Delete some of the predictors that are too highly correlated, but this may lead to model misspecification! Collect additional data…in the hope that additional data will reduce the collinearity. Use principal components or factor analysis to consolidate the information contained in your predictors. Use ridge regression or robust regression methods. </para></section><section><title>References</title><para><emphasis role="strong">Belsley, David Alan (1991)</emphasis> <emphasis>Conditioning diagnostics : collinearity and weak data in regression</emphasis>. New York ; Chichester : Wiley. <emphasis> [Library details UL: 202.c.99.50 South Wing, Floor 5] </emphasis> </para><para>B<emphasis role="strong">elsley, David Alan (1980).</emphasis> <emphasis>Regression diagnostics : identifying influential data and sources of collinearity.</emphasis> New York ; Chichester : Wiley. <emphasis> [Library details B&amp;GM: QA278.2 .B44 1980;</emphasis> <emphasis>UL: 202.c.98.17 South Wing, Floor 5] </emphasis> </para><para><emphasis role="strong">Fox J and Weisberg S (2011) An R companion to applied regression. Second Edition. Sage:Thousand Oaks. <para/>Hair Jr., JF, Tatham, RL, Anderson, RE and Black, W (1998, 2004)<emphasis role="strong"> <emphasis>Multivariate Data Analysis (5th edition). Prentice-Hall:Englewood Cliffs, NJ. This accessible and comprehensive text features plenty of illustrations and rules of thumb. <inlinemediaobject><imageobject><imagedata depth="16" fileref="https://lsr-wiki-01.mrc-cbu.cam.ac.uk/basewiki/moin_static1910/moniker_cbu/img/smile.png" width="16"/></imageobject><textobject><phrase>:-)</phrase></textobject></inlinemediaobject>  There are also sixth (2005) <inlinemediaobject><imageobject><imagedata depth="16" fileref="https://lsr-wiki-01.mrc-cbu.cam.ac.uk/basewiki/moin_static1910/moniker_cbu/img/smile.png" width="16"/></imageobject><textobject><phrase>:-)</phrase></textobject></inlinemediaobject> and seventh (2009) editions by Hair Jr, JF, Black, B, Babin, B, Anderson, RE, Tatham, RL published by Pearson International</emphasis>.  </emphasis></emphasis></para></section><section><title>Symptoms of Collinearity</title></section><section><title>What to do if you encounter collinearity</title><para>[Last updated on 27 November, 2003] </para><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="https://lsr-wiki-01.mrc-cbu.cam.ac.uk/statswiki/FAQ/Collinearity/statswiki/FAQ#">Return to Statistics FAQ page</ulink> </para><para><ulink url="https://lsr-wiki-01.mrc-cbu.cam.ac.uk/statswiki/FAQ/Collinearity/statswiki/CbuStatistics#">Return to Statistics main page</ulink> </para><para><ulink url="http://www.mrc-cbu.cam.ac.uk/">Return to CBU main page</ulink> </para><para>These pages are maintained by <ulink url="mailto:ian.nimmo-smith@mrc-cbu.cam.ac.uk">Ian Nimmo-Smith</ulink> and <ulink url="mailto:peter.watson@mrc-cbu.cam.ac.uk">Peter Watson</ulink> </para></section></section></section></article>