Re: [R] Variance Inflation Factor VIC() with a matrix

2012-09-20 Thread Michael Friendly
You've stumbled across the answer to your question -- while lm() supports y~X formulas without a data=argument and y~ X1+X2+X3 formulas with one, you can't depend on all contributed functions to do the same. As John pointed out, the advantage of car::vif over other implementations is that it cor

Re: [R] Variance Inflation Factor VIC() with a matrix

2012-09-20 Thread John Fox
Dear Martin, > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Martin H. Schmidt > Sent: Thursday, September 20, 2012 8:52 AM > To: r-help@r-project.org > Subject: [R] Variance Inflation Factor VIC() wit

[R] Variance Inflation Factor VIC() with a matrix

2012-09-20 Thread Martin H. Schmidt
Hi everyone, Running the vif() function from the car package like > reg2 <- lm(CARsPur~Delay_max10+LawChange+MarketTrend_20d+MultiTrade, data=data.frame(VarVecPur)) > vif(reg2) Delay_max10 LawChange MarketTrend_20d MultiTrade

Re: [R] Variance Inflation factor

2012-07-11 Thread R. Michael Weylandt
-Original Message- > From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] > Sent: Wednesday, July 11, 2012 4:04 PM > To: Hui Du > Cc: Jorge I Velez; R-help > Subject: Re: [R] Variance Inflation factor > > You're rather out of date with your version of R -- if y

Re: [R] Variance Inflation factor

2012-07-11 Thread Hui Du
ginal Message- From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] Sent: Wednesday, July 11, 2012 4:04 PM To: Hui Du Cc: Jorge I Velez; R-help Subject: Re: [R] Variance Inflation factor You're rather out of date with your version of R -- if you want to use the CRAN binaries p

Re: [R] Variance Inflation factor

2012-07-11 Thread R. Michael Weylandt
n_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > HXD > > From: Jorge I Velez [mailto:jorgeivanve...@gmail.com] > Sent: Wednesday, July 11, 2012 3:31 PM > To: Hui Du > Cc: R-help > Subject: Re:

Re: [R] Variance Inflation factor

2012-07-11 Thread Richard M. Heiberger
vailable > > > > ** ** > > > > HXD > > > > ** ** > > > > *From:* Jorge I Velez [mailto:jorgeivanve...@gmail.com] > > *Sent:* Wednesday, July 11, 2012 3:19 PM > > *To:* Hui Du > > *Cc:* R-help > > *Subject:* Re:

Re: [R] Variance Inflation factor

2012-07-11 Thread Hui Du
PM To: Hui Du Cc: R-help Subject: Re: [R] Variance Inflation factor Could you please include your sessionInfo() ? Thank you, Jorge.- On Wed, Jul 11, 2012 at 6:27 PM, Hui Du mailto:hui...@dataventures.com>> wrote: Thanks. But in UNIX side, I got the same error In getDependencies(pkgs, dep

Re: [R] Variance Inflation factor

2012-07-11 Thread Jorge I Velez
r’ is not available > > ** ** > > HXD > > ** ** > > *From:* Jorge I Velez [mailto:jorgeivanve...@gmail.com] > *Sent:* Wednesday, July 11, 2012 3:19 PM > *To:* Hui Du > *Cc:* R-help > *Subject:* Re: [R] Variance Inflation factor > > ** ** > > S

Re: [R] Variance Inflation factor

2012-07-11 Thread Hui Du
Thanks. But in UNIX side, I got the same error In getDependencies(pkgs, dependencies, available, lib) : package ‘car’ is not available HXD From: Jorge I Velez [mailto:jorgeivanve...@gmail.com] Sent: Wednesday, July 11, 2012 3:19 PM To: Hui Du Cc: R-help Subject: Re: [R] Variance

Re: [R] Variance Inflation factor

2012-07-11 Thread Jorge I Velez
See the examples at # install.pacages('car') require(car) ?vif HTH, Jorge.- On Wed, Jul 11, 2012 at 6:10 PM, Hui Du <> wrote: > Hi All, > > > I need to calculate VIF (variance inflation factor) for my linear > regression model. I found there was a function named vif in 'HH' package. > I have

[R] Variance Inflation factor

2012-07-11 Thread Hui Du
Hi All, I need to calculate VIF (variance inflation factor) for my linear regression model. I found there was a function named vif in 'HH' package. I have two questions: 1) I was able to install that package in my R under windows. But while trying to install that package in UNIX, I got

[R] Variance inflation factor

2010-08-10 Thread Grant Gillis
Hello all and thanks in advance for any advice. I would like to calculate the variance inflation factor for a linear model (lm) with 4 explanatory variables. I would then like to use this to calculate QAIC. I have used the function vif() in the car package and I get values for each variable howe

[R] variance inflation factor for linear mixed effects

2010-01-07 Thread thomas t
hello all - i was searching for theoretical articles/vector equations regarding variance inflation factor (or generalization) for the linear mixed effects model (repeated measures data) sincerely, tom -- View this message in context: http://n4.nabble.com/variance-inflation-factor-for-linear-mixe