Description Usage Arguments Value See Also Examples
This is the main function that fits interaction models with a path of tuning parameters (for Step 3).
1 2 |
x |
An |
y |
A response vector of size |
num_keep |
Number of candidate interactions to keep in Step 2. If |
square |
Indicator of whether squared effects should be fitted in Step 1. Default to be FALSE. |
lambda |
A user specified list of tuning parameter. Default to be NULL, and the program will compute its own |
nlam |
The number of |
lam_min_ratio |
The ratio of the smallest and the largest values in |
An object of S3 class "sprinter".
nThe sample size.
pThe number of main effects.
a0Estimate of intercept.
coefEstimate of regression coefficients.
idxIndices of all main effects and interactions in Step 3.
fittedFitted response value. It is a n-by-nlam matrix, with each column representing a fitted response vector for a value of lambda.
lambdaThe sequence of lambda values used.
callFunction call.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.