Displaying 1 result from an estimated 1 matches for "htshoes".
Did you mean:
hotshots
2008 May 07
1
use of sequence on ridge regression
Dear R users. I have a doubt about the use of the sequence option on
Ridge regression. I'm trying to understand the use of this option when
variables are highly linear correlated. I'm running a model where the
variables HtShoes and Ht have high VIF values. My program is written
below, but I'm not sure about the correct way of using the sequence
option:
library (faraway)
data (seatpos)
attach (seatpos)
spos.mod <- lm(hipcenter ~ .,seatpos) summary (spos.mod)
library(MASS)
lm.ridge(hipcenter ~ .,seatpos)
plot(lm.rid...