[R] colinearity?

2006-10-24 Thread Chris Linton
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@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.


Re: [R] colinearity?

2006-10-24 Thread David Barron
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 [EMAIL PROTECTED] 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@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

__
R-help@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.


Re: [R] colinearity?

2006-10-24 Thread David Barron
Also, have a look at the perturb package which has a couple of
functions for collinearity diagnosis.

On 24/10/06, Chris Linton [EMAIL PROTECTED] 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@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

__
R-help@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.


Re: [R] Colinearity Function in R

2006-07-06 Thread Ramon Diaz-Uriarte
Dear Peter,

I especially like the VIF (and GVIF) functions in package car, by John Fox. 
(I'm assuming you are dealing with [generalized] linear models).

HTH,

R.


On Wednesday 05 July 2006 17:16, Peter Lauren wrote:
 Is there a colinearty function implemented in R?  I
 have tried help.search(colinearity) and
 help.search(collinearity) and have searched for
 colinearity and collinearity on
 http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no
 success.

 Many thanks in advance,
 Peter Lauren.

 __
 R-help@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

-- 
Ramón Díaz-Uriarte
Bioinformatics 
Centro Nacional de Investigaciones Oncológicas (CNIO)
(Spanish National Cancer Center)
Melchor Fernández Almagro, 3
28029 Madrid (Spain)
Fax: +-34-91-224-6972
Phone: +-34-91-224-6900

http://ligarto.org/rdiaz
PGP KeyID: 0xE89B3462
(http://ligarto.org/rdiaz/0xE89B3462.asc)



**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en s...{{dropped}}

__
R-help@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


Re: [R] Colinearity Function in R

2006-07-06 Thread Frank E Harrell Jr
Ramon Diaz-Uriarte wrote:
 Dear Peter,
 
 I especially like the VIF (and GVIF) functions in package car, by John Fox. 
 (I'm assuming you are dealing with [generalized] linear models).
 
 HTH,
 
 R.

And even though ignoring Y prevents you from seeing the whole picture, 
redundancy analysis of X can help you do data reduction in an unbiased 
way to build reliable models.  The transcan and varclus functions in the 
Hmisc package help in this way.  transcan will show you the maximum R^2 
that can be obtained in predicting each predictor from all others, using 
a spline generalized additive model.  varclus draws a variable 
clustering dendogram.

Frank Harrell

 
 
 On Wednesday 05 July 2006 17:16, Peter Lauren wrote:
 Is there a colinearty function implemented in R?  I
 have tried help.search(colinearity) and
 help.search(collinearity) and have searched for
 colinearity and collinearity on
 http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no
 success.

 Many thanks in advance,
 Peter Lauren.

 __
 R-help@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
 


-- 
Frank E Harrell Jr   Professor and Chair   School of Medicine
  Department of Biostatistics   Vanderbilt University

__
R-help@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


[R] Colinearity Function in R

2006-07-05 Thread Peter Lauren
Is there a colinearty function implemented in R?  I
have tried help.search(colinearity) and
help.search(collinearity) and have searched for
colinearity and collinearity on
http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no
success.

Many thanks in advance,
Peter Lauren.

__
R-help@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


Re: [R] Colinearity Function in R

2006-07-05 Thread Sundar Dorai-Raj


Peter Lauren wrote:
 Is there a colinearty function implemented in R?  I
 have tried help.search(colinearity) and
 help.search(collinearity) and have searched for
 colinearity and collinearity on
 http://www.rpad.org/Rpad/Rpad-refcard.pdf but with no
 success.
 
 Many thanks in advance,
 Peter Lauren.
 


Forgot one:

RSiteSearch(collinearity)

which returns (among others that may not be so helpful)

http://finzi.psych.upenn.edu/R/library/perturb/html/00Index.html

HTH,

--sundar

__
R-help@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