I'm sorry to all those who are tired of seeing my email appear in need of help. But, I've never coded in any program before, so this has been a difficult process for me. Is there a simple function to test for colinearity in R? I'm running a logistic regression and a linear regression. Thanks for the help! [[alternative HTML version deleted]]
There are functions to calculate variance inflation factors in various packages, e.g. car and Design. I believe these work with generalized linear models. On 24/10/06, Chris Linton <connect.chris at gmail.com> wrote:> I'm sorry to all those who are tired of seeing my email appear in need of > help. But, I've never coded in any program before, so this has been a > difficult process for me. > > Is there a simple function to test for colinearity in R? I'm running a > logistic regression and a linear regression. > > > > Thanks for the help! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- ================================David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP
Also, have a look at the perturb package which has a couple of functions for collinearity diagnosis. On 24/10/06, Chris Linton <connect.chris at gmail.com> wrote:> I'm sorry to all those who are tired of seeing my email appear in need of > help. But, I've never coded in any program before, so this has been a > difficult process for me. > > Is there a simple function to test for colinearity in R? I'm running a > logistic regression and a linear regression. > > > > Thanks for the help! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- ================================David Barron Said Business School University of Oxford Park End Street Oxford OX1 1HP