Regime switching function to estimate the change points
1 2 3 4 5 6 7 8 9 10 11 |
X |
A p by N data matrix |
tau0 |
initialization of tau |
eps |
nbhd size of approximation |
lambda |
The tuning parameters in a vector of length 2 |
method |
The optimization method used. Could be "Newton" or "search", |
maxIter |
The maximum number of iterations |
grid.tau1 |
|
grid.tau2 |
the search grid for tau1 and tau2. Must be provided if not using NR optimization |
search |
Whether to perform grid search after Newton's update |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.