0
$\begingroup$

I don't know how many steps are necessary for lars() to select the variables till the algorithm proceeds to the saturated fit (especially using the lars package in R)? Can anyone give me a hint?

$\endgroup$

1 Answer 1

1
$\begingroup$

The second sentence in the second section of The LARS paper says that the LARS algorithm requires $m$ steps, where $m$ is the number of covariates.

$\endgroup$
1
  • $\begingroup$ Thanks for reply.I have seen that when the number of predictors(m) is much larger than the number of observations(n) in high dimensional data then lars gets at most n steps, but I am not sure how I can define the exact number of steps in order to have the saturated fit. Also is it possible to give me a hint how I can define the parameter lambda for lasso in order to have the saturated fit?(any document that explain it). thanks in advance $\endgroup$
    – user22
    Commented Dec 19, 2012 at 19:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.