Description Usage Arguments Value References See Also Examples
Does k-folds cross-validation for l4acp, produces a plot, and returns a value for lambda
1 |
x |
Covariates as in |
y |
A dependent variable as in |
q |
A threshold covariate as in |
s |
Input for the sequence of lambdas to be tested. By default, when it is not specificed, it generates 3 lambda sequences of length 100, following the method used in |
trim |
The percentile for trimming to obtain the range of a threshold parameter as in |
nfolds |
the number of folds for cross-validation. By default it is 10 |
cvm |
The iterated mean of tested mean squared errors for each fold. Each value corresponds to different lambdas. Note that it is written as tested-MSE in the graph from |
mse |
The tested MSE for each fold. Its row corresponds to different folds, and column corresponds to different lambdas. |
cvsd |
The standard error for tested MSE (computed from k number of errors). Each value corresponds to different lambdas. |
lambda.seq |
The lambda sequence it runned cross validation. |
lamda.min |
The lambda value that minimizes the cvm. |
lambda.1se |
The maximal lambda among the values that are smaller than |
Sokbae Lee, Myung Hwan Seo, and Youngki Shin, (2016) The Lasso for High-Dimensional Regression with a Possible Change Point, Journal of the Royal Statistical Society Series B, Vol 78(1), 193-210
plot.cvl4acp
and l4acp
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.