Rolling window scheme function for the first step
first.step.detect(
data,
h,
step.size = NULL,
lambda,
mu,
alpha_L = 0.25,
skip = 3,
lambda.1.seq = NULL,
mu.1.seq = NULL,
cv = FALSE,
nfold = NULL,
verbose = FALSE
)A vector which includes all candidate change points selected by rolling window
the whole data matrix
window size
rolling step size, default is NULL. If Null, the step size is 1/4 of the window size
a 2-d vector of tuning parameters for sparse components, available when cv is FALSE
a 2-d vector of tuning parameters for low rank components, available when cv is FALSE
a numeric value, indicates the size of constraint space of low rank component
the number of observations we should skip near the boundaries, default is 3
the sequence of sparse tuning parameter to the left segment, only available when cv is TRUE
the sequence of low rank tuning, only available for cv is TRUE
a boolean argument, indicates whether use cross validation or not
a positive integer, indicates the number of folds of cross validation
if TRUE, then all information for current stage are printed