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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[R] Variance Inflation factor
Tweet 

Search Discussions

Jorge I Velez at Jul 11, 2012 at 10:19 pm 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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide
http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code. 
Hui Du at Jul 11, 2012 at 10:27 pm 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
Sent: Wednesday, July 11, 2012 3:19 PM
To: Hui Du
Cc: Rhelp
Subject: Re: [R] Variance Inflation factor
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.

Jorge I Velez at Jul 11, 2012 at 10:30 pm Could you please include your sessionInfo() ?
Thank you,
Jorge.On Wed, Jul 11, 2012 at 6:27 PM, Hui Du wrote:
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
*Sent:* Wednesday, July 11, 2012 3:19 PM
*To:* Hui Du
*Cc:* Rhelp
*Subject:* Re: [R] Variance Inflation factor****
** **
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide
http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.****
** ** 
Hui Du at Jul 11, 2012 at 10:34 pm Thank you for your consideration.sessionInfo()R version 2.11.1 (20100531)
i686pclinuxgnu
locale:
[1] LC_CTYPE=en_US.UTF8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF8 LC_COLLATE=en_US.UTF8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF8
[7] LC_PAPER=en_US.UTF8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
HXD
From: Jorge I Velez
Sent: Wednesday, July 11, 2012 3:31 PM
To: Hui Du
Cc: Rhelp
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 wrote:
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
Sent: Wednesday, July 11, 2012 3:19 PM
To: Hui Du
Cc: Rhelp
Subject: Re: [R] Variance Inflation factor
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.

R. Michael Weylandt at Jul 11, 2012 at 11:04 pm You're rather out of date with your version of R  if you want to use
the CRAN binaries provided by install.packages(), you usually have to
be at most one minor rev behind.
Try install.packages("car", type = "source")
But even better  update to a poppinfresh R 2.15.1: you get
parallelization, a bytecodecompiler, and all sorts of other goodies.
Best,
MichaelOn Wed, Jul 11, 2012 at 5:34 PM, Hui Du wrote:
Thank you for your consideration.sessionInfo()R version 2.11.1 (20100531)
i686pclinuxgnu
locale:
[1] LC_CTYPE=en_US.UTF8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF8 LC_COLLATE=en_US.UTF8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF8
[7] LC_PAPER=en_US.UTF8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
HXD
From: Jorge I Velez [mailto:jorgeivanvelez at gmail.com]
Sent: Wednesday, July 11, 2012 3:31 PM
To: Hui Du
Cc: Rhelp
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 <Hui.Du at dataventures.comwrote:
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:jorgeivanvelez at gmail.com<mailto:jorgeivanvelez@gmail.com>]
Sent: Wednesday, July 11, 2012 3:19 PM
To: Hui Du
Cc: Rhelp
Subject: Re: [R] Variance Inflation factor
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org<mailto:rhelp@rproject.org> mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code. 
Hui Du at Jul 11, 2012 at 11:26 pm Thanks, all. I will upgrade my R in linux but I suspect the root cause is some set up problem although I don't know how to trace it yet. I am not that familiar with R in Linux. If somebody could give me a clue how to diagnose this kind of problem, that will be great.
HXDOriginal Message
From: R. Michael Weylandt [mailto:michael.weylandt at gmail.com]
Sent: Wednesday, July 11, 2012 4:04 PM
To: Hui Du
Cc: Jorge I Velez; Rhelp
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 provided by install.packages(), you usually have to
be at most one minor rev behind.
Try install.packages("car", type = "source")
But even better  update to a poppinfresh R 2.15.1: you get
parallelization, a bytecodecompiler, and all sorts of other goodies.
Best,
MichaelOn Wed, Jul 11, 2012 at 5:34 PM, Hui Du wrote:
Thank you for your consideration.sessionInfo()R version 2.11.1 (20100531)
i686pclinuxgnu
locale:
[1] LC_CTYPE=en_US.UTF8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF8 LC_COLLATE=en_US.UTF8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF8
[7] LC_PAPER=en_US.UTF8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
HXD
From: Jorge I Velez [mailto:jorgeivanvelez at gmail.com]
Sent: Wednesday, July 11, 2012 3:31 PM
To: Hui Du
Cc: Rhelp
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 <Hui.Du at dataventures.comwrote:
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:jorgeivanvelez at gmail.com<mailto:jorgeivanvelez@gmail.com>]
Sent: Wednesday, July 11, 2012 3:19 PM
To: Hui Du
Cc: Rhelp
Subject: Re: [R] Variance Inflation factor
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org<mailto:rhelp@rproject.org> mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code. 
R. Michael Weylandt at Jul 11, 2012 at 11:58 pm Which Linux are you running?
For distros with package managers, that's usually all you need. Also Check up on the RSIGDebian (including Ubuntu) or RSIGFedora as appropriate if you need more help.
MichaelOn Jul 11, 2012, at 6:26 PM, Hui Du wrote:
Thanks, all. I will upgrade my R in linux but I suspect the root cause is some set up problem although I don't know how to trace it yet. I am not that familiar with R in Linux. If somebody could give me a clue how to diagnose this kind of problem, that will be great.
HXD
Original Message
From: R. Michael Weylandt [mailto:michael.weylandt at gmail.com]
Sent: Wednesday, July 11, 2012 4:04 PM
To: Hui Du
Cc: Jorge I Velez; Rhelp
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 provided by install.packages(), you usually have to
be at most one minor rev behind.
Try install.packages("car", type = "source")
But even better  update to a poppinfresh R 2.15.1: you get
parallelization, a bytecodecompiler, and all sorts of other goodies.
Best,
MichaelOn Wed, Jul 11, 2012 at 5:34 PM, Hui Du wrote:
Thank you for your consideration.sessionInfo()R version 2.11.1 (20100531)
i686pclinuxgnu
locale:
[1] LC_CTYPE=en_US.UTF8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF8 LC_COLLATE=en_US.UTF8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF8
[7] LC_PAPER=en_US.UTF8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
HXD
From: Jorge I Velez [mailto:jorgeivanvelez at gmail.com]
Sent: Wednesday, July 11, 2012 3:31 PM
To: Hui Du
Cc: Rhelp
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 <Hui.Du at dataventures.comwrote:
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:jorgeivanvelez at gmail.com<mailto:jorgeivanvelez@gmail.com>]
Sent: Wednesday, July 11, 2012 3:19 PM
To: Hui Du
Cc: Rhelp
Subject: Re: [R] Variance Inflation factor
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org<mailto:rhelp@rproject.org> mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.
[[alternative HTML version deleted]]
______________________________________________
Rhelp at rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code. 
Richard M. Heiberger at Jul 11, 2012 at 10:39 pm Hui Du,
There is probably something wrong with either your setup or your choice of
CRAN
mirror. Both HH and car are present in CRAN for all platforms.
Your session info just arrived. "R version 2.11.1 (20100531)" is over
two years old.
The current version is "R version 2.15.1 (20120622)".
Upgrading R to the current version is recommended.
There might still be a problem with your setup as both HH and car worked
with 2.11.1.
RichOn Wed, Jul 11, 2012 at 6:30 PM, Jorge I Velez wrote:
Could you please include your sessionInfo() ?
Thank you,
Jorge.On Wed, Jul 11, 2012 at 6:27 PM, Hui Du wrote:[[alternative HTML version deleted]]
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
*Sent:* Wednesday, July 11, 2012 3:19 PM
*To:* Hui Du
*Cc:* Rhelp
*Subject:* Re: [R] Variance Inflation factor****
** **
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 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 error:
Package HH is not available.
Does somebody know why?
2) Does somebody know the other way to calculate vif in R?
Many thanks.
HXD
[[alternative HTML version deleted]]
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide
http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.****
** **
______________________________________________
rhelp@rproject.org mailing list
https://stat.ethz.ch/mailman/listinfo/rhelp
PLEASE do read the posting guide
http://www.Rproject.org/postingguide.html
and provide commented, minimal, selfcontained, reproducible code.
Related Discussions
Discussion Navigation
view  thread  post 
Discussion Overview
group  rhelp 
categories  r 
posted  Jul 11, '12 at 10:10p 
active  Jul 11, '12 at 11:58p 
posts  9 
users  4 
website  rproject.org 
irc  #r 