View source: R/Functions_LpS.R
cv.detect.LpS | R Documentation |
single change point detection with cross-validation
cv.detect.LpS( data, lambda.1.seq = NULL, mu.1.seq = NULL, alpha_L = 0.25, skip = 50, nfold = 5 )
data |
a n by p datatset matrix |
lambda.1.seq |
a numeric vector, the sequence of tuning parameter for sparse component for the left segment |
mu.1.seq |
a numeric vector, the sequence of tuning parameter for low rank component for the left segment |
alpha_L |
a numeric value, indicates the constraint space of low rank component |
skip |
a positive integer, indicates the number of time points should be skipped close to the boundary |
nfold |
a positive integer, the number of folds for cross validation |
A list object, including
Estimated change point
Estimated sparse component for the left-handed side
Estimated sparse component for the right-handed side
Estimated low rank component for the left-handed side
Estimated low rank component for the right-handed side
The sum of squared errors for all passed time points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.