[R] lm.ridge fit with some dummy variables (w/o intercept)

2007-08-28 Thread Young Cho
I have columns which sum to one. They are membership dummies, fractions are allowed - I made an example: x - c( 9.899898,6.9555431,-1.251,0.5200,0.480,0.000,-2.2384737, 16.791361,6.8924369,-3.286,0.78846154,0.2115385,0.000,-0.4720061,

Re: [R] lm.ridge

2005-10-09 Thread Prof Brian Ripley
On Sat, 8 Oct 2005, Erin Hodgess wrote: Dear R People: I have a question about the lm.ridge function, please. In the example, there is one set of output values in the select function but another in the comment section. Am I missing something please? The values in the examples were

[R] lm.ridge

2005-10-08 Thread Erin Hodgess
Dear R People: I have a question about the lm.ridge function, please. In the example, there is one set of output values in the select function but another in the comment section. Am I missing something please? R Version 2.1.1 Windows Thanks, Sincerely, Erin Hodgess Associate Professor

Re: [R] lm.ridge

2005-08-25 Thread Berwin A Turlach
G'day Daniel, DR == daniel [EMAIL PROTECTED] writes: DR First: I think coefficients from lm(Employed~.,data=longley) DR should be equal coefficients from DR lm.ridge(Employed~.,data=longley, lambda=0) why it does not DR happen? Which version of R and which version of MASS are

[R] lm.ridge

2005-08-24 Thread daniel
Hello, I have posted this mail a few days ago but I did it wrong, I hope is right now: I have the following doubts related with lm.ridge, from MASS package. To show the problem using the Longley example, I have the following doubts: First: I think coefficients from lm(Employed~.,data=longley)

[R] lm.ridge again

2005-08-22 Thread daniel
Hello, I have posted this mail a few days ago without any answer: I have the following doubts related with lm.ridge, from MASS package. To show the problem using the Longley example, I have the following doubts: First: I think coefficients from lm(Employed~.,data=longley) should be equal