Re: [R] Lars package

2013-03-19 Thread Bert Gunter
Try using the "elasticnet" package instead, where I believe what you want is part of the package functionality. If I am not mistaken, elasticnet largely supercedes lars -- but (someone) please correct me if I'm wrong. -- Bert On Tue, Mar 19, 2013 at 9:40 AM, Giovanni Giacomin wrote: > Hi, > > I

[R] Lars package

2013-03-19 Thread Giovanni Giacomin
Hi,   I'm using lars package to run some regression analysis and my doubt now is how can I predict my model to another dataset? Let me explain a little better: I have a dataset from which I withhold some data. With the data that wasn't withheld, I create the model. Now, what I'm not being able to

Re: [R] lars package to do lasso

2012-07-12 Thread Bert Gunter
If you don't understand the methodology, why are you using it?? Use the glmnet package instead and read the supporting documents. If it's too technical for you, consult a statistician or do something else. I do NOT do brain surgery. -- Bert On Thu, Jul 12, 2012 at 1:04 PM, SHIR SHIRY wrote: >

[R] lars package to do lasso

2012-07-12 Thread SHIR SHIRY
Dear all I am using lars package to do lasso in R. I dont undesrtand what max.steps do?and how I can understand from the outputs to obtain the last steps in this packagethanks for your helpbest [[alternative HTML version deleted]] __ R-help@r-

Re: [R] Lars package

2011-04-07 Thread Niels Richard Hansen
Achin Without dwelling too much on the semantic problem, the answer to my understanding of your question is: No, there is no C code in the lars package, but there is a single Fortran routine in the package. The Fortran routine does not seem to do anything useful in itself. By the way, the more r

Re: [R] Lars package

2011-04-07 Thread David Winsemius
On Apr 7, 2011, at 3:43 AM, ac...@cse.iitb.ac.in wrote: Hello, I am a student of IIT Bombay and I am using lars for one of my projects. I wanted to enquire if lars is using C under the hood. Is it true? Can someone point me to the corresponding C function? Thank You very much. If you jus

[R] Lars package

2011-04-07 Thread achin
Hello, I am a student of IIT Bombay and I am using lars for one of my projects. I wanted to enquire if lars is using C under the hood. Is it true? Can someone point me to the corresponding C function? Thank You very much. Regards, Achin Bansal __ R-hel

[R] lars package - lasso

2008-11-05 Thread Derow, Catherine Kari
Please could you clarify for me for me when using the lars (lasso) package what the parameter 'intercept' refers to and what the advantages and disadvantages of making this TRUE or FALSE are and when it should be TRUE and when FALSE. Also please could you clarify how 'eps' works and when it shoul

[R] lars package help!

2008-11-05 Thread CHAND SOHAIL
Hi everybody, I am trying to implement lasso using the lars package but I don't know how to extract the optimal solution. There is predict.lars function to extract the coefficients against some specified "s". I want to know how I can get the optimal choice of "lambda" i.e. the lagrange's mul