Description Usage Arguments Details Value Author(s) References See Also Examples
These CGGD models all provide the entire sequence of coefficients and fits, to the least squares fit. This package is based on the lars package.
1 2 3 4 |
x |
matrix of predictors |
y |
response |
beta0 |
initial coefficient values |
kmax |
the maximum number of steps |
TRACE |
If TRUE, cggd prints out its progress |
TRR |
If TRUE builds a Threshold Ridge Regression (TRR) model. If FALSE builds a Functional Gradient Descent Kernel model. |
t0 |
The initial time in the TRR model. |
alpha1,alpha2,w |
Values used in kernel generation. |
tau,tautil,eps |
Values used in variable selection. |
fctr |
Used to tune the search routine. Smaller values tighten the search (more sampling). |
CGGD is a general method for performing different types of regressions while continuously varying regularization and other parameters (similar to LARS but broader). It returns the models fit along the continuous paths of parameter modification. Note that y is automatically centered and x is centered and normalized.
A "cggd" object is returned, for which plot and predict methods exist.
Some significant componenets of the object are:
beta.tk |
The coefficients of the model at the different steps (k). |
tk |
The time at the different steps (k). |
a.set.tk |
The active coefficients of the model at the different steps (k). |
Cun-Hui Zhang and Ofer Melnik
Cun-Hui Zhang (2007) "Continuous Generalized Gradient Descent" Journal of Computational and Graphical Statistics ; see also http://stat.rutgers.edu/~cunhui/software/CGGD.html.
plot, and predict methods for cggd, and cv.cggd
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.