Re: [R] vif function using lm object

2011-12-23 Thread Liviu Andronic
On Wed, Dec 21, 2011 at 9:28 AM, arunkumar wrote: > Hi, > >   can anyone please explain why the vif should have more than 2 terms. > > *vif.lm(lmobj) : model contains fewer than 2 terms* > > why it is throwng error if it is one variable. > The _VIF_ is a measure of _multicollinearity_, which o

[R] vif function using lm object

2011-12-21 Thread arunkumar1111
Hi, can anyone please explain why the vif should have more than 2 terms. *vif.lm(lmobj) : model contains fewer than 2 terms* why it is throwng error if it is one variable. - Thanks in Advance Arun -- View this message in context: http://r.789695.n4.nabble.com/vif-function-usi