Description Usage Arguments Details Value See Also Examples
View source: R/aesPC_calculate_LARS.R
These are all variants of LASSO, and provide the entire sequence of coefficients and fits, starting from zero to the least squares fit.
1 2 3 4 5 6 7 8 9 10 |
Sigma0 |
A Grammian / covariance matrix of pathway predictors. |
b0 |
An eigenvector of |
n |
The sample size. |
type |
Option between |
max.steps |
How many steps should the LAR or LASSO algorithms take? Defaults to 8 times the pathway dimension. |
eps |
What should we consider to be numerically 0? Defaults to the
machine's default error limit for doubles ( |
adaptive |
Ignore. |
para |
Ignore. |
LARS is described in detail in Efron, Hastie, Johnstone and
Tibshirani (2002). With the "lasso"
option, it computes the complete
LASSO solution simultaneously for all values of the shrinkage
parameter in the same computational cost as a least squares fit. This
function is adapted from the lars
function in the
lars
package to apply to covariance or Grammian pathway design
matrices.
An object of class "lars"
.
https://web.stanford.edu/~hastie/Papers/LARS/LeastAngle_2002.pdf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.